LanguageService::BeginInvoke Method (Delegate^, array<Object^>^)

 

Invokes a method on another thread.

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

public:
[HostProtectionAttribute(SecurityAction::LinkDemand, Synchronization = true, 
	ExternalThreading = true)]
virtual IAsyncResult^ BeginInvoke(
	Delegate^ method,
	array<Object^>^ args
) sealed

Parameters

method
Type: System::Delegate^

[in] The method to invoke.

args
Type: array<System::Object^>^

[in] The possible arguments to the method being invoked.

Return Value

Type: System::IAsyncResult^

If successful, returns an IAsyncResult object; otherwise, returns a null value if the invoke operation failed.

This method is used to start a background parse operation.

Return to top
Show: