Szerkesztés

Megosztás a következőn keresztül:


WSTrustSerializationContext Constructors

Definition

Initializes a new instance of the WSTrustSerializationContext class.

Overloads

WSTrustSerializationContext()

Initializes a new instance of the WSTrustSerializationContext class.

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager)

Initializes a new instance of the WSTrustSerializationContext class with the specified SecurityTokenHandlerCollectionManager object.

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager, SecurityTokenResolver, SecurityTokenResolver)

Initializes a new instance of the WSTrustSerializationContext class with the specified SecurityTokenHandlerCollectionManager, SecurityTokenResolver, and SecurityTokenResolver objects.

WSTrustSerializationContext()

Initializes a new instance of the WSTrustSerializationContext class.

public:
 WSTrustSerializationContext();
public WSTrustSerializationContext ();
Public Sub New ()

Applies to

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager)

Initializes a new instance of the WSTrustSerializationContext class with the specified SecurityTokenHandlerCollectionManager object.

public:
 WSTrustSerializationContext(System::IdentityModel::Tokens::SecurityTokenHandlerCollectionManager ^ securityTokenHandlerCollectionManager);
public WSTrustSerializationContext (System.IdentityModel.Tokens.SecurityTokenHandlerCollectionManager securityTokenHandlerCollectionManager);
new System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext : System.IdentityModel.Tokens.SecurityTokenHandlerCollectionManager -> System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext
Public Sub New (securityTokenHandlerCollectionManager As SecurityTokenHandlerCollectionManager)

Parameters

securityTokenHandlerCollectionManager
SecurityTokenHandlerCollectionManager

The SecurityTokenHandlerCollectionManager object that contains the set of SecurityTokenHandler objects to use for serializing and validating tokens found in WS-Trust messages.

Exceptions

securityTokenHandlerCollectionManager is null.

Applies to

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager, SecurityTokenResolver, SecurityTokenResolver)

Initializes a new instance of the WSTrustSerializationContext class with the specified SecurityTokenHandlerCollectionManager, SecurityTokenResolver, and SecurityTokenResolver objects.

public:
 WSTrustSerializationContext(System::IdentityModel::Tokens::SecurityTokenHandlerCollectionManager ^ securityTokenHandlerCollectionManager, System::IdentityModel::Selectors::SecurityTokenResolver ^ securityTokenResolver, System::IdentityModel::Selectors::SecurityTokenResolver ^ useKeyTokenResolver);
public WSTrustSerializationContext (System.IdentityModel.Tokens.SecurityTokenHandlerCollectionManager securityTokenHandlerCollectionManager, System.IdentityModel.Selectors.SecurityTokenResolver securityTokenResolver, System.IdentityModel.Selectors.SecurityTokenResolver useKeyTokenResolver);
new System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext : System.IdentityModel.Tokens.SecurityTokenHandlerCollectionManager * System.IdentityModel.Selectors.SecurityTokenResolver * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext
Public Sub New (securityTokenHandlerCollectionManager As SecurityTokenHandlerCollectionManager, securityTokenResolver As SecurityTokenResolver, useKeyTokenResolver As SecurityTokenResolver)

Parameters

securityTokenHandlerCollectionManager
SecurityTokenHandlerCollectionManager

The SecurityTokenHandlerCollectionManager object that contains the set of SecurityTokenHandler objects to use for serializing and validating tokens found in WS-Trust messages.

securityTokenResolver
SecurityTokenResolver

The SecurityTokenResolver object to use to resolve security token references found in most elements of WS-Trust messages.

useKeyTokenResolver
SecurityTokenResolver

The SecurityTokenResolver object to use to resolve security token references found in the wst:UseKey element of RST messages as well as the wst:RenewTarget element found in RST messages.

Exceptions

securityTokenHandlerCollectionManager is null.

-or-

securityTokenResolver is null.

-or-

useKeyTokenResolver is null.

Applies to