Partilhar via


WebRequestSession Class

Definition

WebRequestSession for holding session infos.

public ref class WebRequestSession
[Windows::Foundation::Metadata::WebHostHidden]
class WebRequestSession
public class WebRequestSession
[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(1)]
public class WebRequestSession : IDisposable
type WebRequestSession = class
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Runtime.CompilerServices.NullableContext(1)>]
type WebRequestSession = class
    interface IDisposable
Public Class WebRequestSession
Public Class WebRequestSession
Implements IDisposable
Inheritance
WebRequestSession
Attributes
Implements

Constructors

WebRequestSession()

Initializes a new instance of the WebRequestSession class.

Properties

Certificates

Gets or sets the Certificates property.

Cookies

Gets or sets the Cookies property.

Credentials

Gets or sets the Credentials property.

Headers

Gets or sets the Header property.

MaximumRedirection

Gets or sets the MaximumRedirection property.

MaximumRetryCount

Gets or sets the count of retries for request failures.

Proxy

Gets or sets the Proxy property.

RetryIntervalInSeconds

Gets or sets the interval in seconds between retries.

UseDefaultCredentials

Gets or sets the UseDefaultCredentials property.

UserAgent

Gets or sets the UserAgent property.

Methods

Dispose()

Dispose the WebRequestSession.

Dispose(Boolean)

Dispose the WebRequestSession.

Applies to