SecurityTokenReference.KeyIdentifier Property
Gets or sets a reference to a specific security token.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim securityTokenReference1 As SecurityTokenReference
Dim returnValue As KeyIdentifier
returnValue = securityTokenReference1.KeyIdentifier
Dim sampleValue As KeyIdentifier
securityTokenReference1.KeyIdentifier = sampleValue
Syntax
'Declaration
Public Property KeyIdentifier() As KeyIdentifier
public KeyIdentifier KeyIdentifier {get; set;}
public:
property KeyIdentifier^ KeyIdentifier {
KeyIdentifier^ get();
void set(KeyIdentifier^ value);
}
public KeyIdentifier get_KeyIdentifier();
public void set_KeyIdentifier(KeyIdentifier);
public function get KeyIdentifier() : KeyIdentifier;
public function set KeyIdentifier(KeyIdentifier);
Property Value
A KeyIdentifier specifying the specific security token to reference.
Exceptions
Exception type | Condition |
---|---|
InvalidOperationException | KeyIdentifier is set when the Token property is not equal to null. |
Remarks
When you set the KeyIdentifier property and then call either the GetXml or GetInnerXml methods, a <KeyIdentifier> element is added to the <SecurityTokenReference> element.
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 XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
SecurityTokenReference Class
SecurityTokenReference Members
Microsoft.Web.Services3.Security Namespace
GetXml
GetInnerXml
AbsoluteReference
Embedded
Reference
RelativeReference