Udostępnij za pośrednictwem


NetMsmqSecurityElement.Mode Właściwość

Definicja

Pobiera lub ustawia NetMsmqSecurityMode wystąpienie, które jest skojarzone z NetMsmqBinding powiązaniem.

public:
 property System::ServiceModel::NetMsmqSecurityMode Mode { System::ServiceModel::NetMsmqSecurityMode get(); void set(System::ServiceModel::NetMsmqSecurityMode value); };
[System.Configuration.ConfigurationProperty("mode", DefaultValue=System.ServiceModel.NetMsmqSecurityMode.Transport)]
public System.ServiceModel.NetMsmqSecurityMode Mode { get; set; }
[<System.Configuration.ConfigurationProperty("mode", DefaultValue=System.ServiceModel.NetMsmqSecurityMode.Transport)>]
member this.Mode : System.ServiceModel.NetMsmqSecurityMode with get, set
Public Property Mode As NetMsmqSecurityMode

Wartość właściwości

NetMsmqSecurityMode

Wystąpienie, NetMsmqSecurityMode które jest skojarzone z NetMsmqBinding powiązaniem.

Atrybuty

Uwagi

Ta właściwość określa typ zabezpieczeń używanych przez skojarzony obiekt NetMsmqBinding . Na poniższej liście opisano dopuszczalne wartości:

  • None — Żadne zabezpieczenia nie będą używane.

  • Transport — Zostaną użyte zabezpieczenia transportu.

  • Message — Zostaną użyte zabezpieczenia oparte na komunikatach.

  • Both — Zostaną użyte zarówno zabezpieczenia oparte na komunikatach, jak i zabezpieczenia transportu.

Dotyczy