Bearbeiten

Freigeben über


WSTrustChannel.BeginRenew Method

Definition

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

Overloads

BeginRenew(RequestSecurityToken, AsyncCallback, Object)

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

BeginRenew(Message, AsyncCallback, Object)

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

BeginRenew(RequestSecurityToken, AsyncCallback, Object)

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

public:
 virtual IAsyncResult ^ BeginRenew(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ rst, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginRenew (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state);
abstract member BeginRenew : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
override this.BeginRenew : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
Public Function BeginRenew (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 renew operation.

state
Object

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

Returns

The IAsyncResult that references the asynchronous renew operation.

Implements

Applies to

BeginRenew(Message, AsyncCallback, Object)

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

public:
 virtual IAsyncResult ^ BeginRenew(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ asyncState);
public IAsyncResult BeginRenew (System.ServiceModel.Channels.Message message, AsyncCallback callback, object asyncState);
abstract member BeginRenew : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.BeginRenew : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginRenew (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 renew operation.

asyncState
Object

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

Returns

The IAsyncResult that references the asynchronous renew operation.

Implements

Applies to