Partager via


DataMappedObjectConverter.IVsDataSupportObject<IVsDataMappedObjectConverter>.Invoke Method

Invokes the specified method on the IVsDataSupportObject<T> interface.

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 IVsDataMappedObjectConverter).Invoke
Object IVsDataSupportObject<IVsDataMappedObjectConverter>.Invoke(
    string name,
    Object[] args,
    Object[] parameters
)
private:
virtual Object^ Invoke(
    String^ name, 
    array<Object^>^ args, 
    array<Object^>^ parameters
) sealed = IVsDataSupportObject<IVsDataMappedObjectConverter^>::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

  • args
    Type: array<System.Object[]

    An array of arguments to be passed to the invoked method.

  • parameters
    Type: array<System.Object[]

    An array of parameters to be passed to the invoked 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 nulla null reference (Nothing in Visual Basic); the specified method name in the name parameter is equal to one of the following values: "GetSupportedRestrictions", "GetRequiredRestrictions", "GetExpensiveProperties", or "GetOrdering" and the number of arguments in the args array is less than one; the method name is equal to "SelectObjects" and the number of arguments in the args array is less than three; the method name is not valid.

.NET Framework Security

See Also

Reference

DataMappedObjectConverter Class

Microsoft.VisualStudio.Data.Framework Namespace