Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebResponseObject Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a web response. Introduced in Windows PowerShell 3.0.

Namespace:   Microsoft.PowerShell.Commands
Assembly:  Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)


public class WebResponseObject

NameDescription
System_CAPS_pubmethodWebResponseObject(WebResponse)

Initializes a new instance of the WebResponseObject class that contains the web response. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodWebResponseObject(WebResponse, Stream)

Creates a new instance of the WebResponseObject class, using the specified response and context.

This element is introduced in Windows PowerShell 5.0.

NameDescription
System_CAPS_pubpropertyBaseResponse

Gets or sets the base web response. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyContent

Gets or sets the content of the web response. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyHeaders

Gets the web response headers. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyRawContent

Gets or sets the raw content that contains the web response. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyRawContentLength

Gets the length of the raw content that contains the web response. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyRawContentStream

Gets the stream of raw content that contains the web response. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyStatusCode

Gets the status code for the web response. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyStatusDescription

Gets the status description for the web response. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Retrieves the string representation of this web response. Introduced in Windows PowerShell 3.0.(Overrides Object.ToString().)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: