Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Invokes the specified method.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Private Function Invoke ( _
name As String, _
args As Object(), _
parameters As Object() _
) As Object Implements IVsDataSupportObject(Of IVsDataObjectSelector).Invoke
Object IVsDataSupportObject<IVsDataObjectSelector>.Invoke(
string name,
Object[] args,
Object[] parameters
)
private:
virtual Object^ Invoke(
String^ name,
array<Object^>^ args,
array<Object^>^ parameters
) sealed = IVsDataSupportObject<IVsDataObjectSelector^>::Invoke
private abstract Invoke :
name:string *
args:Object[] *
parameters:Object[] -> Object
private override Invoke :
name:string *
args:Object[] *
parameters:Object[] -> Object
JScript does not support explicit interface implementations.
Parameters
- name
Type: System.String
The name of the method to invoke.
- args
Type: array<System.Object[]
The arguments to pass for the method being invoked.
- parameters
Type: array<System.Object[]
An array containing parameters to pass to the specified method.
Return Value
Type: System.Object
The object returned by the invoked method.
Implements
IVsDataSupportObject<T>.Invoke(String, array<Object[], array<Object[])
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The name parameter is nulla null reference (Nothing in Visual Basic). |
ArgumentException | One of the following conditions is true: The args parameter is null; the specified method name in the name parameter is equal to "ConvertToUnderlyingRestriction" or "ConvertToMappedMember" and the number of arguments in the args array is less than three; the method name is not valid. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.