Поделиться через


LanguageService.Invoke Method

Called to invoke a task specified by the given delegate.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Декларация
Public Function Invoke ( _
    method As Delegate, _
    args As Object() _
) As Object
public Object Invoke(
    Delegate method,
    Object[] args
)

Parameters

  • args
    Type: array<System.Object[]
    [in] An array of possible arguments for the method.

Return Value

Type: System.Object
Returns an IAsyncResult object or null if the invoke operation failed.

Implements

ISynchronizeInvoke.Invoke(Delegate, array<Object[])

Remarks

The IAsyncResult object represents the return value of the invoked method.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace