Creates an instance of WSFederationSerializer.
Namespace: Microsoft.IdentityModel.Protocols.WSFederation
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim requestSerializer As WSTrustRequestSerializer
Dim responseSerializer As WSTrustResponseSerializer

Dim instance As New WSFederationSerializer(requestSerializer, responseSerializer)

Syntax

Visual Basic
Public Sub New ( _
		requestSerializer As WSTrustRequestSerializer, _
		responseSerializer As WSTrustResponseSerializer _
)
C#
public WSFederationSerializer (
		WSTrustRequestSerializer requestSerializer,
		WSTrustResponseSerializer responseSerializer
)
C++
public:
WSFederationSerializer (
		WSTrustRequestSerializer^ requestSerializer, 
		WSTrustResponseSerializer^ responseSerializer
)
J#
public WSFederationSerializer (
		WSTrustRequestSerializer requestSerializer, 
		WSTrustResponseSerializer responseSerializer
)
JScript
public function WSFederationSerializer (
		requestSerializer : WSTrustRequestSerializer, 
		responseSerializer : WSTrustResponseSerializer
)

Parameters

requestSerializer

The WS-Trust Serializer to use to read the request (RST).

responseSerializer

The WS-Trust Serializer to use to write the response (RSTR).

Exceptions

Exception type Condition
ArgumentNullException

One of the arguments is null.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also