Compartir a través de


DSRefBuilder.IVsDataSupportObject<IDSRefBuilder>.Invoke Method

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".

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

See Also

Reference

DSRefBuilder Class

Microsoft.VisualStudio.Data.Framework Namespace