Namespace: Microsoft.IdentityModel.Tokens.Saml2
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim subject As IClaimsIdentity
Dim attributes As ICollection(Of Saml2Attribute)
Dim tokenDescriptor As SecurityTokenDescriptor

Me.AddDelegateToAttributes(subject, attributes, tokenDescriptor)

Syntax

Visual Basic
Protected Overridable Sub AddDelegateToAttributes ( _
		subject As IClaimsIdentity, _
		attributes As ICollection(Of Saml2Attribute), _
		tokenDescriptor As SecurityTokenDescriptor _
)
C#
protected virtual void AddDelegateToAttributes (
		IClaimsIdentity subject,
		ICollection<Saml2Attribute> attributes,
		SecurityTokenDescriptor tokenDescriptor
)
C++
protected:
virtual void AddDelegateToAttributes (
		IClaimsIdentity^ subject, 
		ICollection<Saml2Attribute^>^ attributes, 
		SecurityTokenDescriptor^ tokenDescriptor
)
J#
protected void AddDelegateToAttributes (
		IClaimsIdentity subject, 
		ICollection<Saml2Attribute> attributes, 
		SecurityTokenDescriptor tokenDescriptor
)
JScript
protected function AddDelegateToAttributes (
		subject : IClaimsIdentity, 
		attributes : ICollection<Saml2Attribute>, 
		tokenDescriptor : SecurityTokenDescriptor
)

Parameters

subject
attributes
tokenDescriptor

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also