Share via


ODataMessageReaderSettings.DisableMessageStreamDisposal Property

Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Property DisableMessageStreamDisposal As Boolean 
    Get 
    Set
'Usage
Dim instance As ODataMessageReaderSettings 
Dim value As Boolean 

value = instance.DisableMessageStreamDisposal

instance.DisableMessageStreamDisposal = value
public bool DisableMessageStreamDisposal { get; set; }
public:
property bool DisableMessageStreamDisposal {
    bool get ();
    void set (bool value);
}
member DisableMessageStreamDisposal : bool with get, set
function get DisableMessageStreamDisposal () : boolean 
function set DisableMessageStreamDisposal (value : boolean)

Property Value

Type: System.Boolean
true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false.

See Also

Reference

ODataMessageReaderSettings Class

Microsoft.Data.OData Namespace