IWSTrustContract.BeginCancel(Message, AsyncCallback, 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.
The asynchronous begin method for the WS-Trust Cancel binding.
public:
IAsyncResult ^ BeginCancel(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ asyncState);
[System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, Name="Cancel", ReplyAction="*")]
public IAsyncResult BeginCancel (System.ServiceModel.Channels.Message message, AsyncCallback callback, object asyncState);
[<System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, Name="Cancel", ReplyAction="*")>]
abstract member BeginCancel : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginCancel (message As Message, callback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters
- callback
- AsyncCallback
An optional AsyncCallback delegate, to be called when the send is complete.
- asyncState
- Object
A user-provided object that distinguishes this particular asynchronous send request from other requests.
Returns
An IAsyncResult object that represents the asynchronous send, which could still be pending.
- Attributes