Creates an instance of WSFederationSerializer.
Пространство имен: Microsoft.IdentityModel.Protocols.WSFederation
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

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

Visual Basic
Dim requestSerializer As WSTrustRequestSerializer
Dim responseSerializer As WSTrustResponseSerializer

Dim instance As New WSFederationSerializer(requestSerializer, responseSerializer)

Синтаксис

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
)

Параметры

requestSerializer

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

responseSerializer

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

Исключения

Тип исключений Условие
ArgumentNullException

One of the arguments is null.

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также