Пространство имен: Microsoft.IdentityModel.Tokens
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

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

Visual Basic
Dim securityTokenHandlerCollection As SecurityTokenHandlerCollection
Dim securityVersion As SecurityVersion
Dim trustVersion As TrustVersion
Dim secureConversationVersion As SecureConversationVersion
Dim emitBspAttributes As Boolean
Dim samlSerializer As SamlSerializer
Dim stateEncoder As SecurityStateEncoder
Dim knownTypes As IEnumerable(Of Type)

Dim instance As New SecurityTokenSerializerAdapter(securityTokenHandlerCollection, securityVersion, trustVersion, secureConversationVersion, emitBspAttributes, samlSerializer, stateEncoder, knownTypes)

Синтаксис

Visual Basic
Public Sub New ( _
		securityTokenHandlerCollection As SecurityTokenHandlerCollection, _
		securityVersion As SecurityVersion, _
		trustVersion As TrustVersion, _
		secureConversationVersion As SecureConversationVersion, _
		emitBspAttributes As Boolean, _
		samlSerializer As SamlSerializer, _
		stateEncoder As SecurityStateEncoder, _
		knownTypes As IEnumerable(Of Type) _
)
C#
public SecurityTokenSerializerAdapter (
		SecurityTokenHandlerCollection securityTokenHandlerCollection,
		SecurityVersion securityVersion,
		TrustVersion trustVersion,
		SecureConversationVersion secureConversationVersion,
		bool emitBspAttributes,
		SamlSerializer samlSerializer,
		SecurityStateEncoder stateEncoder,
		IEnumerable<Type> knownTypes
)
C++
public:
SecurityTokenSerializerAdapter (
		SecurityTokenHandlerCollection^ securityTokenHandlerCollection, 
		SecurityVersion^ securityVersion, 
		TrustVersion^ trustVersion, 
		SecureConversationVersion^ secureConversationVersion, 
		bool emitBspAttributes, 
		SamlSerializer^ samlSerializer, 
		SecurityStateEncoder^ stateEncoder, 
		IEnumerable<Type^>^ knownTypes
)
J#
public SecurityTokenSerializerAdapter (
		SecurityTokenHandlerCollection securityTokenHandlerCollection, 
		SecurityVersion securityVersion, 
		TrustVersion trustVersion, 
		SecureConversationVersion secureConversationVersion, 
		boolean emitBspAttributes, 
		SamlSerializer samlSerializer, 
		SecurityStateEncoder stateEncoder, 
		IEnumerable<Type> knownTypes
)
JScript
public function SecurityTokenSerializerAdapter (
		securityTokenHandlerCollection : SecurityTokenHandlerCollection, 
		securityVersion : SecurityVersion, 
		trustVersion : TrustVersion, 
		secureConversationVersion : SecureConversationVersion, 
		emitBspAttributes : boolean, 
		samlSerializer : SamlSerializer, 
		stateEncoder : SecurityStateEncoder, 
		knownTypes : IEnumerable<Type>
)

Параметры

securityTokenHandlerCollection
securityVersion
trustVersion
secureConversationVersion
emitBspAttributes
samlSerializer
stateEncoder
knownTypes

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также