StreamSecurityUpgradeAcceptor 類別

定義

若要實作自訂安全性升級接受器,請繼承自這個 abstract 基底類別。To implement a custom security upgrade acceptor, inherit from this abstract base class.

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

備註

這個類別會搭配 StreamSecurityUpgradeInitiatorStreamSecurityUpgradeProvider 使用,以實作安全性資料流升級。This class is used with StreamSecurityUpgradeInitiator and StreamSecurityUpgradeProvider to implement a security stream upgrade.

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

建構函式

StreamSecurityUpgradeAcceptor()

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

方法

AcceptUpgrade(Stream)

升級傳輸資料流,並且傳回升級的資料流。Upgrades the transport stream and returns the upgraded stream.

(繼承來源 StreamUpgradeAcceptor)
BeginAcceptUpgrade(Stream, AsyncCallback, Object)

AcceptUpgrade(Stream) 的非同步版本。Asynchronous version of AcceptUpgrade(Stream).

(繼承來源 StreamUpgradeAcceptor)
CanUpgrade(String)

判斷這個升級接受器是否支援要求的升級。Determines whether the upgrade requested is supported by this upgrade acceptor.

(繼承來源 StreamUpgradeAcceptor)
EndAcceptUpgrade(IAsyncResult)

AcceptUpgrade(Stream) 的非同步版本。Asynchronous version of AcceptUpgrade(Stream).

(繼承來源 StreamUpgradeAcceptor)
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

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

(繼承來源 Object)
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)
MemberwiseClone()

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

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱