ClaimCollection.CopyWithSubject Method
Returns a new ClaimCollection object copied from this object.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim instance As ClaimCollection Dim subject As IClaimsIdentity Dim returnValue As ClaimCollection returnValue = instance.CopyWithSubject(subject)
Syntax
'Declaration
Public Function CopyWithSubject ( _
subject As IClaimsIdentity _
) As ClaimCollection
public ClaimCollection CopyWithSubject (
IClaimsIdentity subject
)
public:
ClaimCollection^ CopyWithSubject (
IClaimsIdentity^ subject
)
public ClaimCollection CopyWithSubject (
IClaimsIdentity subject
)
public function CopyWithSubject (
subject : IClaimsIdentity
) : ClaimCollection
Parameter
- subject
The ClaimsIdentity object that is the subject of the new ClaimCollection object.
Rückgabewert
A new ClaimCollection object copied from this object.
Ausnahmen
Ausnahmetyp | Bedingung |
---|
Hinweise
The Subject property of the copy is set to subject.
Threadsicherheit
Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Entwicklungsplattformen
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Siehe auch
Referenz
ClaimCollection Class
ClaimCollection Members
Microsoft.IdentityModel.Claims Namespace