BeginCancel Method (RequestSecurityToken, AsyncCallback, Object)
Collapse the table of content
Expand the table of content

IWSTrustChannelContract.BeginCancel Method (RequestSecurityToken, AsyncCallback, Object)

.NET Framework (current version)
 

Asynchronously sends a WS-Trust Cancel message to an endpoint.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

IAsyncResult BeginCancel(
	RequestSecurityToken request,
	AsyncCallback callback,
	object state
)

Parameters

request
Type: System.IdentityModel.Protocols.WSTrust.RequestSecurityToken

The RequestSecurityToken that represents the request to the STS.

callback
Type: System.AsyncCallback

An optional AsyncCallback delegate, to be called when the send is complete.

state
Type: System.Object

A user-provided object that distinguishes this particular asynchronous send request from other requests.

Return Value

Type: System.IAsyncResult

An IAsyncResult object that represents the asynchronous send, which could still be pending.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft