LanguageService.BeginInvoke Method (Delegate, 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)

[HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true, 
	ExternalThreading = true)]
public IAsyncResult BeginInvoke(
	Delegate method,
	object[] args
)

Parameters

method
Type: System.Delegate

[in] The method to invoke.

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