Share via


TransportProtection Property

Gets or sets the transport protection policy.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Syntax

'Declaration
Public Property TransportProtection As TransportProtectionPolicy
    Get
    Set
'Usage
Dim instance As MessageBufferPolicy
Dim value As TransportProtectionPolicy

value = instance.TransportProtection

instance.TransportProtection = value
public TransportProtectionPolicy TransportProtection { get; set; }
public:
property TransportProtectionPolicy TransportProtection {
    TransportProtectionPolicy get ();
    void set (TransportProtectionPolicy value);
}
member TransportProtection : TransportProtectionPolicy with get, set
function get TransportProtection () : TransportProtectionPolicy
function set TransportProtection (value : TransportProtectionPolicy)

Property Value

Type: Microsoft.ServiceBus. . :: . .TransportProtectionPolicy
Returns a TransportProtectionPolicy that contains the transport protection policy. The default is AllPaths.

Remarks

The transport protection policy refers to the level of end-to-end (from sender, to the message buffer, to the receiver) security that must be used. For more information about setting message buffer policy, see How to: Configure an AppFabric Service Bus Message Buffer.

See Also

Reference

MessageBufferPolicy Class

Microsoft.ServiceBus Namespace