LanguageService.Invoke(Delegate, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to invoke a task specified by the given delegate.
public:
virtual System::Object ^ Invoke(Delegate ^ method, cli::array <System::Object ^> ^ args);
public:
Platform::Object ^ Invoke(Delegate ^ method, Platform::Array <Platform::Object ^> ^ args);
public object Invoke (Delegate method, object[] args);
abstract member Invoke : Delegate * obj[] -> obj
override this.Invoke : Delegate * obj[] -> obj
Public Function Invoke (method As Delegate, args As Object()) As Object
Parameters
- args
- Object[]
[in] An array of possible arguments for the method.
Returns
Returns an IAsyncResult object or null if the invoke operation failed.
Implements
Remarks
The IAsyncResult object represents the return value of the invoked method.