StreamSecurityUpgradeAcceptor.GetRemoteSecurity 方法

定義

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

public:
 abstract System::ServiceModel::Security::SecurityMessageProperty ^ GetRemoteSecurity();
public abstract System.ServiceModel.Security.SecurityMessageProperty GetRemoteSecurity ();
abstract member GetRemoteSecurity : unit -> System.ServiceModel.Security.SecurityMessageProperty
Public MustOverride Function GetRemoteSecurity () As SecurityMessageProperty

傳回

備註

這項資訊對於根據安全性內容中所提供的身分識別來實作資料流層級的驗證機制非常實用。This information is useful for implementing a stream-level authentication mechanism based on the identities provided in the security context.

適用於