ChannelBinding 類別

定義

ChannelBinding 類別會封裝不透明資料的指標,此資料用來將已驗證的交易繫結至安全的通道。The ChannelBinding class encapsulates a pointer to the opaque data used to bind an authenticated transaction to a secure channel.

public ref class ChannelBinding abstract : System::Runtime::InteropServices::SafeHandle
public ref class ChannelBinding abstract : Microsoft::Win32::SafeHandles::SafeHandleZeroOrMinusOneIsInvalid
public abstract class ChannelBinding : System.Runtime.InteropServices.SafeHandle
public abstract class ChannelBinding : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
type ChannelBinding = class
    inherit SafeHandle
type ChannelBinding = class
    inherit SafeHandleZeroOrMinusOneIsInvalid
Public MustInherit Class ChannelBinding
Inherits SafeHandle
Public MustInherit Class ChannelBinding
Inherits SafeHandleZeroOrMinusOneIsInvalid
繼承
ChannelBinding
繼承

備註

類別實例中的通道系結 token ChannelBinding 是用來提供整合式 windows 驗證的擴充保護。The channel binding token in a ChannelBinding class instance is used to provide extended protection for integrated windows authentication.

建構函式

ChannelBinding()

初始化 ChannelBinding 類別的新執行個體。Initializes a new instance of the ChannelBinding class.

ChannelBinding(Boolean)

初始化 ChannelBinding 類別的新執行個體。Initializes a new instance of the ChannelBinding class.

欄位

handle

指定要包裝的控制代碼。Specifies the handle to be wrapped.

(繼承來源 SafeHandle)

屬性

IsClosed

取得值,指出控制代碼是否已關閉。Gets a value indicating whether the handle is closed.

(繼承來源 SafeHandle)
IsInvalid

在衍生類別中覆寫時,取得值以指出這個控制代碼值是否無效。When overridden in a derived class, gets a value indicating whether the handle value is invalid.

(繼承來源 SafeHandle)
IsInvalid

取得值,表示控制代碼是否無效。Gets a value that indicates whether the handle is invalid.

(繼承來源 SafeHandleZeroOrMinusOneIsInvalid)
Size

Size 屬性會取得與 ChannelBinding 執行個體相關聯之通道繫結語彙基元的大小 (以位元組為單位)。The Size property gets the size, in bytes, of the channel binding token associated with the ChannelBinding instance.

方法

Close()

標記要釋出和釋放資源的控制代碼。Marks the handle for releasing and freeing resources.

(繼承來源 SafeHandle)
DangerousAddRef(Boolean)

手動遞增 SafeHandle 執行個體上的參考計數器。Manually increments the reference counter on SafeHandle instances.

(繼承來源 SafeHandle)
DangerousGetHandle()

傳回 handle 欄位的值。Returns the value of the handle field.

(繼承來源 SafeHandle)
DangerousRelease()

手動遞減 SafeHandle 執行個體上的參考計數器。Manually decrements the reference counter on a SafeHandle instance.

(繼承來源 SafeHandle)
Dispose()

釋放 SafeHandle 類別所使用的所有資源。Releases all resources used by the SafeHandle class.

(繼承來源 SafeHandle)
Dispose(Boolean)

釋放 SafeHandle 類別所使用的 Unmanaged 資源,指定是否要執行一般處置作業。Releases the unmanaged resources used by the SafeHandle class specifying whether to perform a normal dispose operation.

(繼承來源 SafeHandle)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ReleaseHandle()

在衍生類別中覆寫時,執行釋放控制代碼所需的程式碼。When overridden in a derived class, executes the code required to free the handle.

(繼承來源 SafeHandle)
SetHandle(IntPtr)

將控制代碼設定為指定的既有控制代碼。Sets the handle to the specified pre-existing handle.

(繼承來源 SafeHandle)
SetHandleAsInvalid()

將控制代碼標記為不再使用。Marks a handle as no longer used.

(繼承來源 SafeHandle)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱