Edit

Share via


SecurityElementBase.MessageProtectionOrder Property

Definition

Gets or sets the order of message encryption and signing for this binding.

public:
 property System::ServiceModel::Security::MessageProtectionOrder MessageProtectionOrder { System::ServiceModel::Security::MessageProtectionOrder get(); void set(System::ServiceModel::Security::MessageProtectionOrder value); };
[System.Configuration.ConfigurationProperty("messageProtectionOrder", DefaultValue=System.ServiceModel.Security.MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature)]
public System.ServiceModel.Security.MessageProtectionOrder MessageProtectionOrder { get; set; }
[<System.Configuration.ConfigurationProperty("messageProtectionOrder", DefaultValue=System.ServiceModel.Security.MessageProtectionOrder.SignBeforeEncryptAndEncryptSignature)>]
member this.MessageProtectionOrder : System.ServiceModel.Security.MessageProtectionOrder with get, set
Public Property MessageProtectionOrder As MessageProtectionOrder

Property Value

A MessageProtectionOrder that specifies how message is protected. The default is SignBeforeEncrypt.

Attributes

Applies to