Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables or disables Nagle's buffering algorithm on the stream.
Namespace: Microsoft.SmartDevice.Connectivity
Assembly: Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)
Syntax
'Declaration
Public Property Buffering As Boolean
'Usage
Dim instance As DevicePacketStream
Dim value As Boolean
value = instance.Buffering
instance.Buffering = value
public bool Buffering { get; set; }
public:
property bool Buffering {
bool get ();
void set (bool value);
}
public function get Buffering () : boolean
public function set Buffering (value : boolean)
Property Value
Type: System.Boolean
Returns true for enabled, false for disabled.
Exceptions
Exception | Condition |
---|---|
IOException | An exception is thrown by the underlying COM layer. Only occurs on set operation. |
Remarks
Use true for enabled, false for disabled. This attribute is enabled by default.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.