IWSTrustContract.BeginRenew(Message, AsyncCallback, Object) 方法

定义

WS-Trust 续订绑定的异步开始方法。

public:
 IAsyncResult ^ BeginRenew(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ asyncState);
[System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, Name="Renew", ReplyAction="*")]
public IAsyncResult BeginRenew (System.ServiceModel.Channels.Message message, AsyncCallback callback, object asyncState);
[<System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, Name="Renew", ReplyAction="*")>]
abstract member BeginRenew : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginRenew (message As Message, callback As AsyncCallback, asyncState As Object) As IAsyncResult

参数

message
Message

表示包含 RST 的请求消息的 Message

callback
AsyncCallback

可选的 AsyncCallback 委托,在完成发送时调用。

asyncState
Object

一个用户提供的对象,它将该特定的异步发送请求与其他请求区别开来。

返回

IAsyncResult

表示异步发送(可能仍处于挂起状态)的 IAsyncResult 对象。

属性

适用于