Partager via


Constructeur WSFederationSerializer (WSTrustRequestSerializer, WSTrustResponseSerializer)

Creates an instance of WSFederationSerializer.

Espace de noms: Microsoft.IdentityModel.Protocols.WSFederation
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim requestSerializer As WSTrustRequestSerializer
Dim responseSerializer As WSTrustResponseSerializer

Dim instance As New WSFederationSerializer(requestSerializer, responseSerializer)

Syntaxe

'Déclaration
Public Sub New ( _
    requestSerializer As WSTrustRequestSerializer, _
    responseSerializer As WSTrustResponseSerializer _
)
public WSFederationSerializer (
    WSTrustRequestSerializer requestSerializer,
    WSTrustResponseSerializer responseSerializer
)
public:
WSFederationSerializer (
    WSTrustRequestSerializer^ requestSerializer, 
    WSTrustResponseSerializer^ responseSerializer
)
public WSFederationSerializer (
    WSTrustRequestSerializer requestSerializer, 
    WSTrustResponseSerializer responseSerializer
)
public function WSFederationSerializer (
    requestSerializer : WSTrustRequestSerializer, 
    responseSerializer : WSTrustResponseSerializer
)

Paramètres

  • 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

Type d'exception Condition
ArgumentNullException

One of the arguments is null.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

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

Voir aussi

Référence

Classe WSFederationSerializer
Membres WSFederationSerializer
Espace de noms Microsoft.IdentityModel.Protocols.WSFederation