Bearbeiten

Freigeben über


ServiceModelSecurityTokenRequirement.MessageDirectionProperty Property

Definition

Gets the key for the token requirement property whose value is the member of the MessageDirection enumeration to use and that indicates whether the token provider is needed for messages sent from client to server or server to client.

public:
 static property System::String ^ MessageDirectionProperty { System::String ^ get(); };
public static string MessageDirectionProperty { get; }
static member MessageDirectionProperty : string
Public Shared ReadOnly Property MessageDirectionProperty As String

Property Value

Gets the key for the token requirement property whose value is the member of the MessageDirection enumeration to use.

Remarks

The value that corresponds to this key is of type MessageDirection. This property can be used by credential implementations to provide different tokens for processing the request and the response. An example is a credential implementation where the endpoint can specify a different certificate that it signs outgoing messages with and a different certificate to be used by other parties to encrypt messages for it.

Applies to