FormatterContext Constructor (HttpResponseMessage, Boolean)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Instantiates a new instance of the FormatterContext class to use to serialize or deserialize a response.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Sub New ( _
    response As HttpResponseMessage, _
    isRead As Boolean _
)
public FormatterContext(
    HttpResponseMessage response,
    bool isRead
)
public:
FormatterContext(
    HttpResponseMessage^ response, 
    bool isRead
)
new : 
        response:HttpResponseMessage * 
        isRead:bool -> FormatterContext
public function FormatterContext(
    response : HttpResponseMessage, 
    isRead : boolean
)

Parameters

  • isRead
    Type: System.Boolean
    Indicates if this is context is meant to select a formatter to read or to write.

.NET Framework Security

See Also

Reference

FormatterContext Class

FormatterContext Overload

System.Net.Http.Formatting Namespace