ChannelBinding ChannelBinding ChannelBinding ChannelBinding Class

定義

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 : Microsoft::Win32::SafeHandles::SafeHandleZeroOrMinusOneIsInvalid
public abstract class ChannelBinding : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
type ChannelBinding = class
    inherit SafeHandleZeroOrMinusOneIsInvalid
Public MustInherit Class ChannelBinding
Inherits SafeHandleZeroOrMinusOneIsInvalid
繼承

備註

中的通道繫結語彙基元ChannelBinding類別執行個體用來提供整合式的 windows 驗證擴充的保護。The channel binding token in a ChannelBinding class instance is used to provide extended protection for integrated windows authentication.

建構函式

ChannelBinding() ChannelBinding() ChannelBinding() ChannelBinding()

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

ChannelBinding(Boolean) ChannelBinding(Boolean) ChannelBinding(Boolean) ChannelBinding(Boolean)

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

屬性

IsClosed IsClosed IsClosed IsClosed

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

(Inherited from SafeHandle)
IsInvalid IsInvalid IsInvalid IsInvalid

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

(Inherited from SafeHandleZeroOrMinusOneIsInvalid)
Size Size Size Size

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

方法

Close() Close() Close() Close()

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

(Inherited from SafeHandle)
DangerousAddRef(Boolean) DangerousAddRef(Boolean) DangerousAddRef(Boolean) DangerousAddRef(Boolean)

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

(Inherited from SafeHandle)
DangerousGetHandle() DangerousGetHandle() DangerousGetHandle() DangerousGetHandle()

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

(Inherited from SafeHandle)
DangerousRelease() DangerousRelease() DangerousRelease() DangerousRelease()

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

(Inherited from SafeHandle)
Dispose() Dispose() Dispose() Dispose()

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

(Inherited from SafeHandle)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

(Inherited from SafeHandle)
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()

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

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

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ReleaseHandle() ReleaseHandle() ReleaseHandle() ReleaseHandle()

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

(Inherited from SafeHandle)
SetHandle(IntPtr) SetHandle(IntPtr) SetHandle(IntPtr) SetHandle(IntPtr)

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

(Inherited from SafeHandle)
SetHandleAsInvalid() SetHandleAsInvalid() SetHandleAsInvalid() SetHandleAsInvalid()

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

(Inherited from SafeHandle)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)

欄位

handle handle handle handle

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

(Inherited from SafeHandle)

適用於

另請參閱