StreamSecurityUpgradeInitiator 類別

定義

若要實作安全性升級啟動器,請從這個 abstract 基底類別 (Base Class) 繼承。To implement a security upgrade initiator, inherit from this abstract base class.

public ref class StreamSecurityUpgradeInitiator abstract : System::ServiceModel::Channels::StreamUpgradeInitiator
public abstract class StreamSecurityUpgradeInitiator : System.ServiceModel.Channels.StreamUpgradeInitiator
type StreamSecurityUpgradeInitiator = class
    inherit StreamUpgradeInitiator
Public MustInherit Class StreamSecurityUpgradeInitiator
Inherits StreamUpgradeInitiator
繼承
StreamSecurityUpgradeInitiator

備註

這個類別會搭配 StreamSecurityUpgradeAcceptorStreamSecurityUpgradeProvider 使用,以實作自訂資料流升級。This class is used with StreamSecurityUpgradeAcceptor and StreamSecurityUpgradeProvider to implement a custom stream upgrade.

如需升級程序的詳細說明,請參閱 StreamUpgradeProviderFor a detailed description of the upgrade process, see StreamUpgradeProvider.

建構函式

StreamSecurityUpgradeInitiator()

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

方法

BeginInitiateUpgrade(Stream, AsyncCallback, Object)

這個 abstract 方法可以實作,以執行可啟始升級的非同步處理。This abstract method can be implemented to do asynchronous processing that initiates an upgrade.

(繼承來源 StreamUpgradeInitiator)
EndInitiateUpgrade(IAsyncResult)

這個方法是非同步的回呼 (Callback) 方法,會在 BeginInitiateUpgrade(Stream, AsyncCallback, Object) 完成之後呼叫。This method is the asynchronous callback method that is called after BeginInitiateUpgrade(Stream, AsyncCallback, Object) has completed.

(繼承來源 StreamUpgradeInitiator)
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetNextUpgrade()

傳回下一次要執行之升級的內容型別。Returns the content type of the next upgrade to be performed.

(繼承來源 StreamUpgradeInitiator)
GetRemoteSecurity()

取得資料流上所提供的安全性訊息屬性,以便根據安全性內容中所提供的資訊來執行自訂安全性交涉。Gets the security message property provided on the stream for performing custom security negotiation based on the information provided in the security context.

GetType()

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

(繼承來源 Object)
InitiateUpgrade(Stream)

啟始資料流的升級,其方式是要求其連線的另一端升級通道傳輸層。Initiates the upgrade of the stream by requesting the other end of its connection to upgrade the channel transport layer.

(繼承來源 StreamUpgradeInitiator)
MemberwiseClone()

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

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱