ILMessageFilterExtensionContext.DeferQueryRequestToNetworkAsync Method

Definition

Defers the query request to the network service for the extension and runs a handler when the operation is complete.

public virtual System.Threading.Tasks.Task<IdentityLookup.ILNetworkResponse> DeferQueryRequestToNetworkAsync ();
abstract member DeferQueryRequestToNetworkAsync : unit -> System.Threading.Tasks.Task<IdentityLookup.ILNetworkResponse>
override this.DeferQueryRequestToNetworkAsync : unit -> System.Threading.Tasks.Task<IdentityLookup.ILNetworkResponse>

Returns

Task<ILNetworkResponse>

A task that represents the asynchronous DeferQueryRequestToNetwork operation. The value of the TResult parameter is of type System.Action<IdentityLookup.ILNetworkResponse,Foundation.NSError>.

Remarks

The DeferQueryRequestToNetworkAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to