Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HttpResponseMessage.Content Property

Definition

Namespace:
System.Net.Http
Assembly:
System.Net.Http.dll
Assemblies:
netstandard.dll, System.Net.Http.dll
Assembly:
netstandard.dll
Source:
HttpResponseMessage.cs
Source:
HttpResponseMessage.cs
Source:
HttpResponseMessage.cs
Source:
HttpResponseMessage.cs
Source:
HttpResponseMessage.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the content of a HTTP response message.

public:
 property System::Net::Http::HttpContent ^ Content { System::Net::Http::HttpContent ^ get(); void set(System::Net::Http::HttpContent ^ value); };
public System.Net.Http.HttpContent Content { get; set; }
member this.Content : System.Net.Http.HttpContent with get, set
Public Property Content As HttpContent

Property Value

The content of the HTTP response message.

Remarks

The contents of an HTTP response message corresponds to the entity body defined in RFC 2616.

Applies to


Feedback

Was this page helpful?