แก้ไข

แชร์ผ่าน


NetMsmqSecurity Class

Definition

The NetMsmqSecurity class encapsulates the MSMQ security features available when using the NetMsmqBinding binding.

public ref class NetMsmqSecurity sealed
public sealed class NetMsmqSecurity
type NetMsmqSecurity = class
Public NotInheritable Class NetMsmqSecurity
Inheritance
NetMsmqSecurity

Examples

NetMsmqBinding binding = new NetMsmqBinding();
NetMsmqSecurity security = binding.Security;
Dim binding As New NetMsmqBinding()
Dim security = binding.Security

Remarks

Objects of this type are created by creating an instance of the NetMsmqBinding binding. You can then use this object to reference all of the various security settings related to the NetMsmqBinding binding.

Constructors

NetMsmqSecurity()

Initializes a new instance of the NetMsmqSecurity class.

Properties

Message

Gets or sets the MessageSecurityOverMsmq that is associated with the NetMsmqBinding binding.

Mode

Gets or sets the NetMsmqSecurityMode that is associated with the NetMsmqBinding binding.

Transport

Gets or sets the MsmqTransportSecurity that is associated with the NetMsmqBinding binding.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to