WSTrustServiceContract.BeginProcessCore 方法

定义

处理对 STS 的异步调用。

protected:
 virtual IAsyncResult ^ BeginProcessCore(System::ServiceModel::Channels::Message ^ requestMessage, System::IdentityModel::Protocols::WSTrust::WSTrustRequestSerializer ^ requestSerializer, System::IdentityModel::Protocols::WSTrust::WSTrustResponseSerializer ^ responseSerializer, System::String ^ requestAction, System::String ^ responseAction, System::String ^ trustNamespace, AsyncCallback ^ callback, System::Object ^ state);
protected virtual IAsyncResult BeginProcessCore (System.ServiceModel.Channels.Message requestMessage, System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer requestSerializer, System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer responseSerializer, string requestAction, string responseAction, string trustNamespace, AsyncCallback callback, object state);
abstract member BeginProcessCore : System.ServiceModel.Channels.Message * System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer * string * string * string * AsyncCallback * obj -> IAsyncResult
override this.BeginProcessCore : System.ServiceModel.Channels.Message * System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer * string * string * string * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function BeginProcessCore (requestMessage As Message, requestSerializer As WSTrustRequestSerializer, responseSerializer As WSTrustResponseSerializer, requestAction As String, responseAction As String, trustNamespace As String, callback As AsyncCallback, state As Object) As IAsyncResult

参数

requestMessage
Message

传入的请求消息。

requestSerializer
WSTrustRequestSerializer

WS-Trust 请求序列化程序。

responseSerializer
WSTrustResponseSerializer

WS-Trust 响应序列化程序。

requestAction
String

请求 SOAP 操作。

responseAction
String

响应 SOAP 操作。

trustNamespace
String

传入请求的 WS-Trust 版本的命名空间 URI。

callback
AsyncCallback

异步调用结束时获得调用的回调。

state
Object

一个对象,它包含此异步调用的状态信息。

返回

IAsyncResult

应传递回 End 方法以完成异步调用的 IAsyncResult。

例外

其中一个参数为 null。

适用于