Dela via


DevicePacketStream.Buffering Property

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

See Also

Reference

DevicePacketStream Class

DevicePacketStream Members

Microsoft.SmartDevice.Connectivity Namespace