Compartilhar via


DomainClient.CancelQueryCore Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Attempts to cancel the query request specified by the asyncResult.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Protected Overridable Sub CancelQueryCore ( _
    asyncResult As IAsyncResult _
)
'Usage
Dim asyncResult As IAsyncResult

Me.CancelQueryCore(asyncResult)
protected virtual void CancelQueryCore(
    IAsyncResult asyncResult
)
protected:
virtual void CancelQueryCore(
    IAsyncResult^ asyncResult
)
abstract CancelQueryCore : 
        asyncResult:IAsyncResult -> unit 
override CancelQueryCore : 
        asyncResult:IAsyncResult -> unit 
protected function CancelQueryCore(
    asyncResult : IAsyncResult
)

Parameters

  • asyncResult
    Type: System.IAsyncResult
    An IAsyncResult specifying what query operation to cancel.

Remarks

The default implementation does not take any actions.

See Also

Reference

DomainClient Class

System.ServiceModel.DomainServices.Client Namespace