Response Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the HttpListenerResponse object that will be sent to the client in response to the client's request.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public ReadOnly Property Response As HttpListenerResponse
public HttpListenerResponse Response { get; }
public:
property HttpListenerResponse^ Response {
HttpListenerResponse^ get ();
}
member Response : HttpListenerResponse with get
function get Response () : HttpListenerResponse
Property Value
Type: System.Net. . :: . .HttpListenerResponse
An HttpListenerResponse object used to send a response back to the client.
Remarks
Your application configures the response by setting properties in the HttpListenerResponse object returned by this property. After configuring the response, you send it to the client by closing the response, or by closing this HttpListenerContext object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.