NSUrlSessionHandler NSUrlSessionHandler NSUrlSessionHandler NSUrlSessionHandler Class

定义

public ref class NSUrlSessionHandler : System::Net::Http::HttpMessageHandler
public class NSUrlSessionHandler : System.Net.Http.HttpMessageHandler
type NSUrlSessionHandler = class
    inherit HttpMessageHandler
Public Class NSUrlSessionHandler
Inherits HttpMessageHandler
继承
NSUrlSessionHandlerNSUrlSessionHandlerNSUrlSessionHandlerNSUrlSessionHandler

构造函数

NSUrlSessionHandler() NSUrlSessionHandler() NSUrlSessionHandler() NSUrlSessionHandler()

属性

AllowAutoRedirect AllowAutoRedirect AllowAutoRedirect AllowAutoRedirect
Credentials Credentials Credentials Credentials
DisableCaching DisableCaching DisableCaching DisableCaching

方法

Dispose() Dispose() Dispose() Dispose()

释放由 HttpMessageHandler 使用的非托管资源和托管资源。 Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageHandler.

(Inherited from HttpMessageHandler)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。 Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。 Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 Type Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。 Creates a shallow copy of the current Object.

(Inherited from Object)
SendAsync(HttpRequestMessage, CancellationToken) SendAsync(HttpRequestMessage, CancellationToken) SendAsync(HttpRequestMessage, CancellationToken) SendAsync(HttpRequestMessage, CancellationToken)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。 Returns a string that represents the current object.

(Inherited from Object)

适用于