Starts the given Method as async Task on the given TaskDistributor.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static Task RunAsync( this Object that, string methodName, params Object[] args ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function RunAsync ( _ that As Object, _ methodName As String, _ ParamArray args As Object() _ ) As Task |
Visual C++ |
---|
[ExtensionAttribute] public: static Task^ RunAsync( Object^ that, String^ methodName, ... array<Object^>^ args ) |
Parameters
- that
- Type: System..::..Object
- methodName
- Type: System..::..String
- args
- Type: array<System..::..Object>[]()[][]
Optional arguments passed to the method.