Freigeben über


BasicHtmlWebResponseObject Constructors

Definition

Overloads

BasicHtmlWebResponseObject(HttpResponseMessage)

Initializes a new instance of the BasicHtmlWebResponseObject class.

BasicHtmlWebResponseObject(WebResponse)

Constructor for HtmlWebResponseObject

BasicHtmlWebResponseObject(HttpResponseMessage, Stream)

Initializes a new instance of the BasicHtmlWebResponseObject class with the specified contentStream.

BasicHtmlWebResponseObject(WebResponse, Stream)

Constructor for HtmlWebResponseObject with memory stream

BasicHtmlWebResponseObject(HttpResponseMessage, TimeSpan, CancellationToken)

Initializes a new instance of the BasicHtmlWebResponseObject class.

BasicHtmlWebResponseObject(HttpResponseMessage, Stream, TimeSpan, CancellationToken)

Initializes a new instance of the BasicHtmlWebResponseObject class with the specified contentStream.

BasicHtmlWebResponseObject(HttpResponseMessage)

Initializes a new instance of the BasicHtmlWebResponseObject class.

public BasicHtmlWebResponseObject (System.Net.Http.HttpResponseMessage response);
new Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject : System.Net.Http.HttpResponseMessage -> Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject
Public Sub New (response As HttpResponseMessage)

Parameters

Applies to

BasicHtmlWebResponseObject(WebResponse)

Constructor for HtmlWebResponseObject

public BasicHtmlWebResponseObject (System.Net.WebResponse response);
new Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject : System.Net.WebResponse -> Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject
Public Sub New (response As WebResponse)

Parameters

response
WebResponse

Applies to

BasicHtmlWebResponseObject(HttpResponseMessage, Stream)

Initializes a new instance of the BasicHtmlWebResponseObject class with the specified contentStream.

public BasicHtmlWebResponseObject (System.Net.Http.HttpResponseMessage response, System.IO.Stream contentStream);
new Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject : System.Net.Http.HttpResponseMessage * System.IO.Stream -> Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject
Public Sub New (response As HttpResponseMessage, contentStream As Stream)

Parameters

contentStream
Stream

Applies to

BasicHtmlWebResponseObject(WebResponse, Stream)

Constructor for HtmlWebResponseObject with memory stream

public BasicHtmlWebResponseObject (System.Net.WebResponse response, System.IO.Stream contentStream);
new Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject : System.Net.WebResponse * System.IO.Stream -> Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject
Public Sub New (response As WebResponse, contentStream As Stream)

Parameters

response
WebResponse
contentStream
Stream

Applies to

BasicHtmlWebResponseObject(HttpResponseMessage, TimeSpan, CancellationToken)

Initializes a new instance of the BasicHtmlWebResponseObject class.

public BasicHtmlWebResponseObject (System.Net.Http.HttpResponseMessage response, TimeSpan perReadTimeout, System.Threading.CancellationToken cancellationToken);
new Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject : System.Net.Http.HttpResponseMessage * TimeSpan * System.Threading.CancellationToken -> Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject
Public Sub New (response As HttpResponseMessage, perReadTimeout As TimeSpan, cancellationToken As CancellationToken)

Parameters

response
HttpResponseMessage

The response.

perReadTimeout
TimeSpan

Time permitted between reads or Timeout.InfiniteTimeSpan for no timeout.

cancellationToken
CancellationToken

Cancellation token.

Applies to

BasicHtmlWebResponseObject(HttpResponseMessage, Stream, TimeSpan, CancellationToken)

Initializes a new instance of the BasicHtmlWebResponseObject class with the specified contentStream.

public BasicHtmlWebResponseObject (System.Net.Http.HttpResponseMessage response, System.IO.Stream? contentStream, TimeSpan perReadTimeout, System.Threading.CancellationToken cancellationToken);
new Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject : System.Net.Http.HttpResponseMessage * System.IO.Stream * TimeSpan * System.Threading.CancellationToken -> Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject
Public Sub New (response As HttpResponseMessage, contentStream As Stream, perReadTimeout As TimeSpan, cancellationToken As CancellationToken)

Parameters

response
HttpResponseMessage

The response.

contentStream
Stream

The content stream associated with the response.

perReadTimeout
TimeSpan

Time permitted between reads or Timeout.InfiniteTimeSpan for no timeout.

cancellationToken
CancellationToken

Cancellation token.

Applies to