LanguageService::Invoke Method (Delegate^, array<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:
virtual Object^ Invoke(
	Delegate^ method,
	array<Object^>^ args
) sealed

Parameters

method
Type: System::Delegate^

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

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.

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

Return to top
Show: