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 method specified by the method name and passes it the specified arguments.
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 IDSRefBuilder).Invoke
Object IVsDataSupportObject<IDSRefBuilder>.Invoke(
string name,
Object[] args,
Object[] parameters
)
private:
virtual Object^ Invoke(
String^ name,
array<Object^>^ args,
array<Object^>^ parameters
) sealed = IVsDataSupportObject<IDSRefBuilder^>::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 method name to invoke. For example, can be equal to "AppendToDSRef".
- args
Type: array<System.Object[]
An array of objects containing the first three arguments to pass to the AppendToDSRef method.
- parameters
Type: array<System.Object[]
The parameters array to pass to AppendToDSRef.
Return Value
Type: System.Object
Returns a null reference.
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 | The args parameter is null or has a length different than 3, or the name parameter is not equal to the "AppendToDSRef" string literal. |
.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.