Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

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)

Syntax

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

Parameters

requestMessage
requestAction
responseAction
trustNamespace
requestSerializer
responseSerializer
serializationContext

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also