OnewayRelayTransportElement.ConnectionMode Property
[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets or sets the one-way connection mode.
Namespace: Microsoft.ServiceBus.Configuration
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)
Usage
Dim instance As OnewayRelayTransportElement
Dim value As OnewayRelayConnectionMode
value = instance.ConnectionMode
instance.ConnectionMode = value
Syntax
'Declaration
<ConfigurationPropertyAttribute("connectionMode", DefaultValue:=OnewayRelayConnectionMode.Unicast)> _
Public Property ConnectionMode As OnewayRelayConnectionMode
[ConfigurationPropertyAttribute("connectionMode", DefaultValue=OnewayRelayConnectionMode.Unicast)]
public OnewayRelayConnectionMode ConnectionMode { get; set; }
[ConfigurationPropertyAttribute(L"connectionMode", DefaultValue=OnewayRelayConnectionMode::Unicast)]
public:
property OnewayRelayConnectionMode ConnectionMode {
OnewayRelayConnectionMode get ();
void set (OnewayRelayConnectionMode value);
}
/** @property */
public OnewayRelayConnectionMode get_ConnectionMode ()
/** @property */
public void set_ConnectionMode (OnewayRelayConnectionMode value)
public function get ConnectionMode () : OnewayRelayConnectionMode
public function set ConnectionMode (value : OnewayRelayConnectionMode)
Property Value
Returns a OnewayRelayConnectionMode that contains the connection mode.
Remarks
One-way channels can be used in one of two modes: Unicast, which only lets one service to listen on an endpoint at any point in time, and Multicast, which allows multiple services to listen simultaneously. Messages sent to a multicast endpoint are received by all listening services.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
OnewayRelayTransportElement Class
OnewayRelayTransportElement Members
Microsoft.ServiceBus.Configuration Namespace