Redigera

Dela via


WSTrustChannel.BeginValidate Method

Definition

Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint.

Overloads

BeginValidate(Message, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint using the specified Message object.

BeginValidate(RequestSecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint using the specified RequestSecurityToken object.

BeginValidate(Message, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint using the specified Message object.

public:
 virtual IAsyncResult ^ BeginValidate(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ asyncState);
public IAsyncResult BeginValidate (System.ServiceModel.Channels.Message message, AsyncCallback callback, object asyncState);
abstract member BeginValidate : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.BeginValidate : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginValidate (message As Message, callback As AsyncCallback, asyncState As Object) As IAsyncResult

Parameters

message
Message

The Message that contains the instructions for the request to the STS.

callback
AsyncCallback

The AsyncCallback delegate that receives notification of the completion of the asynchronous validate operation.

asyncState
Object

An object, specified by the application, that contains state information associated with the asynchronous validate operation.

Returns

The IAsyncResult that references the asynchronous validate operation.

Implements

Applies to

BeginValidate(RequestSecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint using the specified RequestSecurityToken object.

public:
 virtual IAsyncResult ^ BeginValidate(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ rst, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginValidate (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state);
abstract member BeginValidate : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
override this.BeginValidate : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
Public Function BeginValidate (rst As RequestSecurityToken, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

rst
RequestSecurityToken

The RequestSecurityToken that represents the request to the STS.

callback
AsyncCallback

The AsyncCallback delegate that receives notification of the completion of the asynchronous validate operation.

state
Object

An object, specified by the application, that contains state information associated with the asynchronous validate operation.

Returns

The IAsyncResult that references the asynchronous validate operation.

Implements

Applies to