Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets and sets the properties on an authentication ticket by name.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overrides Property Item ( _
propertyName As String _
) As String
'Usage
Dim instance As AuthTicket
Dim propertyName As String
Dim value As String
value = instance.Item(propertyName)
instance.Item(propertyName) = value
public override string Item[
string propertyName
] { get; set; }
public:
virtual property String^ Item[String^ propertyName] {
String^ get (String^ propertyName) override;
void set (String^ propertyName, String^ value) override;
}
JScript does not support indexed properties.
Parameters
- propertyName
Type: System..::.String
The name of the property.
Property Value
Type: System..::.String
The name of the property.
Exceptions
Exception | Condition |
---|---|
CommerceAuthenticationFailedDecryptionException | The property could not be obtained or set. |
CommerceAuthenticationException | The property could not be obtained or set. |
Remarks
The Item property is a read/write indexer that sets and retrieves the properties on an authentication ticket.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.