SecurityBindingElement.CreateSspiNegotiationBindingElement 方法

定義

建立對稱式安全性繫結項目,這個項目會根據交涉式驗證封裝來執行 SOAP SSPI 交涉。

多載

CreateSspiNegotiationBindingElement()

建立對稱式安全性繫結項目,這個項目會根據交涉式驗證封裝來執行 SOAP SSPI 交涉。

CreateSspiNegotiationBindingElement(Boolean)

建立對稱式安全性繫結項目,這個項目會根據交涉式驗證封裝來執行 SOAP SSPI 交涉。

CreateSspiNegotiationBindingElement()

建立對稱式安全性繫結項目,這個項目會根據交涉式驗證封裝來執行 SOAP SSPI 交涉。

public:
 static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateSspiNegotiationBindingElement();
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateSspiNegotiationBindingElement ();
static member CreateSspiNegotiationBindingElement : unit -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateSspiNegotiationBindingElement () As SymmetricSecurityBindingElement

傳回

SymmetricSecurityBindingElement

SymmetricSecurityBindingElement 物件。

備註

在 SSPI 交涉結束時會發行以 Cookie 為基礎的安全性內容權杖。

適用於

CreateSspiNegotiationBindingElement(Boolean)

建立對稱式安全性繫結項目,這個項目會根據交涉式驗證封裝來執行 SOAP SSPI 交涉。

public:
 static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateSspiNegotiationBindingElement(bool requireCancellation);
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateSspiNegotiationBindingElement (bool requireCancellation);
static member CreateSspiNegotiationBindingElement : bool -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateSspiNegotiationBindingElement (requireCancellation As Boolean) As SymmetricSecurityBindingElement

參數

requireCancellation
Boolean

指定是否需要取消。 將它設定為 false 便會啟用安全性內容權杖 (在 Web 伺服陣列案例中非常有用),因為在這個模式中,工作階段狀態會在建立的安全性內容權杖內部經過編碼,而不是保存在伺服器記憶體內。

傳回

SymmetricSecurityBindingElement

SymmetricSecurityBindingElement 物件。

備註

如果 requireCancellationfalse,則會在 SSPI 交涉結束時發行以 Cookie 為基礎的安全性內容權杖;否則會發行以工作階段為基礎的安全性內容權杖。

適用於