Compartilhar via


WSTrustSerializationContext Construtores

Definição

Inicializa uma nova instância da classe WSTrustSerializationContext.

Sobrecargas

WSTrustSerializationContext()

Inicializa uma nova instância da classe WSTrustSerializationContext.

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager)

Inicializa uma nova instância da classe WSTrustSerializationContext com o objeto SecurityTokenHandlerCollectionManager especificado.

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager, SecurityTokenResolver, SecurityTokenResolver)

Inicializa uma nova instância da classe WSTrustSerializationContext com os objetos SecurityTokenHandlerCollectionManager, SecurityTokenResolver e SecurityTokenResolver especificados.

WSTrustSerializationContext()

Inicializa uma nova instância da classe WSTrustSerializationContext.

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

Aplica-se a

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager)

Inicializa uma nova instância da classe WSTrustSerializationContext com o objeto SecurityTokenHandlerCollectionManager especificado.

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)

Parâmetros

securityTokenHandlerCollectionManager
SecurityTokenHandlerCollectionManager

O objeto SecurityTokenHandlerCollectionManager que contém o conjunto de objetos SecurityTokenHandler a ser usado para serializar e validar os tokens encontrados em mensagens WS-Trust.

Exceções

securityTokenHandlerCollectionManager é null.

Aplica-se a

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager, SecurityTokenResolver, SecurityTokenResolver)

Inicializa uma nova instância da classe WSTrustSerializationContext com os objetos SecurityTokenHandlerCollectionManager, SecurityTokenResolver e SecurityTokenResolver especificados.

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)

Parâmetros

securityTokenHandlerCollectionManager
SecurityTokenHandlerCollectionManager

O objeto SecurityTokenHandlerCollectionManager que contém o conjunto de objetos SecurityTokenHandler a ser usado para serializar e validar os tokens encontrados em mensagens WS-Trust.

securityTokenResolver
SecurityTokenResolver

O objeto SecurityTokenResolver a ser usado para resolver as referências de token de segurança encontradas na maioria dos elementos de mensagens WS-Trust.

useKeyTokenResolver
SecurityTokenResolver

O objeto SecurityTokenResolver a ser usado para resolver as referências de token de segurança encontradas no elemento wst:UseKey das mensagens RST, bem como no elemento wst:RenewTarget encontrado em mensagens RST.

Exceções

securityTokenHandlerCollectionManager é null.

- ou -

securityTokenResolver é null.

- ou -

useKeyTokenResolver é null.

Aplica-se a