WCF-Xtensions Class Reference for Mono
DuplexOnly Property (WebSocketTransportBindingElement)






Gets and sets whether the transport should provide only duplex channels for the binding.
Syntax
'Declaration
 
Public Property DuplexOnly As System.Boolean
'Usage
 
Dim instance As WebSocketTransportBindingElement
Dim value As System.Boolean
 
instance.DuplexOnly = value
 
value = instance.DuplexOnly
public System.bool DuplexOnly {get; set;}
public read-write property DuplexOnly: System.Boolean; 
public function get,set DuplexOnly : System.boolean
public: __property System.bool get_DuplexOnly();
public: __property void set_DuplexOnly( 
   System.bool value
);
public:
property System.bool DuplexOnly {
   System.bool get();
   void set (    System.bool value);
}
Remarks
WebSocketTransportBindingElement does support both duplex and request response communication, but this may cause confusions with some binding elements that require specific type of channel. Using this property you can lock transport to provide only duplex channels and resolve such conflicts.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WebSocketTransportBindingElement Class
WebSocketTransportBindingElement Members

Send Feedback