WSTrustChannel.BeginCancel 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.
Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint.
Overloads
BeginCancel(RequestSecurityToken, AsyncCallback, Object) |
Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified RequestSecurityToken object. |
BeginCancel(Message, AsyncCallback, Object) |
Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified Message object. |
BeginCancel(RequestSecurityToken, AsyncCallback, Object)
Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified RequestSecurityToken object.
public:
virtual IAsyncResult ^ BeginCancel(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ rst, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginCancel (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state);
abstract member BeginCancel : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
override this.BeginCancel : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
Public Function BeginCancel (rst As RequestSecurityToken, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
The RequestSecurityToken that represents the request to the STS.
- callback
- AsyncCallback
The AsyncCallback delegate that receives notification of the completion of the asynchronous cancel operation.
- state
- Object
An object, specified by the application, that contains state information associated with the asynchronous cancel operation.
Returns
The IAsyncResult that references the asynchronous cancel operation.
Implements
Applies to
BeginCancel(Message, AsyncCallback, Object)
Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified Message object.
public:
virtual IAsyncResult ^ BeginCancel(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ asyncState);
public IAsyncResult BeginCancel (System.ServiceModel.Channels.Message message, AsyncCallback callback, object asyncState);
abstract member BeginCancel : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.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
The AsyncCallback delegate that receives notification of the completion of the asynchronous cancel operation.
- asyncState
- Object
An object, specified by the application, that contains state information associated with the asynchronous cancel operation.
Returns
The IAsyncResult that references the asynchronous cancel operation.
Implements
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈