LanguageService.BeginInvoke(Delegate, Object[]) Method

Definition

Invokes a method on another thread.

public:
 virtual IAsyncResult ^ BeginInvoke(Delegate ^ method, cli::array <System::Object ^> ^ args);
public IAsyncResult BeginInvoke (Delegate method, object[] args);
abstract member BeginInvoke : Delegate * obj[] -> IAsyncResult
override this.BeginInvoke : Delegate * obj[] -> IAsyncResult
Public Function BeginInvoke (method As Delegate, args As Object()) As IAsyncResult

Parameters

method
Delegate

[in] The method to invoke.

args
Object[]

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

Returns

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

Implements

Remarks

This method is used to start a background parse operation.

Applies to