ClientBaseTChannelWebMethodsCallerCallWebMethodAsyncT Method |
Asynchronously calls a WebMethod.
Namespace: System.ServiceModelAssemblies: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
CSharpXamlForHtml5.ToBeReplacedAtRuntime.System.ServiceModel.dll (in CSharpXamlForHtml5.ToBeReplacedAtRuntime.System.ServiceModel.dll.dll) Version: 1.0.0.0
Syntax public Task<T> CallWebMethodAsync<T>(
string methodName,
Type interfacetype,
Type methodReturnType,
Object originalRequestObject
)
Parameters
- methodName
- Type: SystemString
The name of the WebMethod - interfacetype
- Type: SystemType
The Type of the interface - methodReturnType
- Type: SystemType
The return Type of the method - originalRequestObject
- Type: SystemObject
[Missing <param name="originalRequestObject"/> documentation for "M:System.ServiceModel.ClientBase`1.WebMethodsCaller.CallWebMethodAsync``1(System.String,System.Type,System.Type,System.Object)"]
Type Parameters
- T
- The return type of the WebMethod
Return Value
Type:
TaskTThe result of the call of the method.
See Also