LanguageService.Invoke Method (Delegate, Object[])

 

Called to invoke a task specified by the given delegate.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public object Invoke(
	Delegate method,
	object[] args
)

Parameters

method
Type: System.Delegate

[in] The method to invoke as represented by a Delegate object.

args
Type: 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.

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

Return to top
Show: