Handles Synchronous calls to the STS.
命名空间: Microsoft.IdentityModel.Protocols.WSTrust
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)
用法
Dim requestMessage As Message Dim requestSerializer As WSTrustRequestSerializer Dim responseSerializer As WSTrustResponseSerializer Dim requestAction As String Dim responseAction As String Dim trustNamespace As String Dim returnValue As Message returnValue = Me.ProcessCore(requestMessage, requestSerializer, responseSerializer, requestAction, responseAction, trustNamespace)
语法
声明
Protected Overridable Function ProcessCore ( _
requestMessage As Message, _
requestSerializer As WSTrustRequestSerializer, _
responseSerializer As WSTrustResponseSerializer, _
requestAction As String, _
responseAction As String, _
trustNamespace As String _
) As Message
protected virtual Message ProcessCore (
Message requestMessage,
WSTrustRequestSerializer requestSerializer,
WSTrustResponseSerializer responseSerializer,
string requestAction,
string responseAction,
string trustNamespace
)
protected:
virtual Message^ ProcessCore (
Message^ requestMessage,
WSTrustRequestSerializer^ requestSerializer,
WSTrustResponseSerializer^ responseSerializer,
String^ requestAction,
String^ responseAction,
String^ trustNamespace
)
protected Message ProcessCore (
Message requestMessage,
WSTrustRequestSerializer requestSerializer,
WSTrustResponseSerializer responseSerializer,
String requestAction,
String responseAction,
String trustNamespace
)
protected function ProcessCore (
requestMessage : Message,
requestSerializer : WSTrustRequestSerializer,
responseSerializer : WSTrustResponseSerializer,
requestAction : String,
responseAction : String,
trustNamespace : String
) : Message
参数
- requestMessage
Incoming Request message.
- requestSerializer
Trust Request Serializer.
- responseSerializer
Trust Response Serializer.
- requestAction
Request SOAP action.
- responseAction
Response SOAP action.
- trustNamespace
Namespace URI of the trust version of the incoming request.
返回值
Response message that contains the serialized RSTR.
异常
| 异常类型 | 条件 |
|---|---|
| ArgumentNullException | One of the argument is null. |
线程安全
此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。
平台
开发平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
请参见
参考
WSTrustServiceContract 类
WSTrustServiceContract 成员
Microsoft.IdentityModel.Protocols.WSTrust 命名空间