Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

Visual Basic
Dim requestMessage As Message
Dim requestAction As String
Dim responseAction As String
Dim trustNamespace As String
Dim requestSerializer As WSTrustRequestSerializer
Dim responseSerializer As WSTrustResponseSerializer
Dim serializationContext As WSTrustSerializationContext
Dim returnValue As DispatchContext

returnValue = Me.CreateDispatchContext(requestMessage, requestAction, responseAction, trustNamespace, requestSerializer, responseSerializer, serializationContext)

Синтаксис

Visual Basic
Protected Overridable Function CreateDispatchContext ( _
		requestMessage As Message, _
		requestAction As String, _
		responseAction As String, _
		trustNamespace As String, _
		requestSerializer As WSTrustRequestSerializer, _
		responseSerializer As WSTrustResponseSerializer, _
		serializationContext As WSTrustSerializationContext _
) As DispatchContext
C#
protected virtual DispatchContext CreateDispatchContext (
		Message requestMessage,
		string requestAction,
		string responseAction,
		string trustNamespace,
		WSTrustRequestSerializer requestSerializer,
		WSTrustResponseSerializer responseSerializer,
		WSTrustSerializationContext serializationContext
)
C++
protected:
virtual DispatchContext^ CreateDispatchContext (
		Message^ requestMessage, 
		String^ requestAction, 
		String^ responseAction, 
		String^ trustNamespace, 
		WSTrustRequestSerializer^ requestSerializer, 
		WSTrustResponseSerializer^ responseSerializer, 
		WSTrustSerializationContext^ serializationContext
)
J#
protected DispatchContext CreateDispatchContext (
		Message requestMessage, 
		String requestAction, 
		String responseAction, 
		String trustNamespace, 
		WSTrustRequestSerializer requestSerializer, 
		WSTrustResponseSerializer responseSerializer, 
		WSTrustSerializationContext serializationContext
)
JScript
protected function CreateDispatchContext (
		requestMessage : Message, 
		requestAction : String, 
		responseAction : String, 
		trustNamespace : String, 
		requestSerializer : WSTrustRequestSerializer, 
		responseSerializer : WSTrustResponseSerializer, 
		serializationContext : WSTrustSerializationContext
) : DispatchContext

Параметры

requestMessage
requestAction
responseAction
trustNamespace
requestSerializer
responseSerializer
serializationContext

Безопасность потоков

Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

См. также