語言

SignInRequestMessage.Validate 方法

定義

驗證目前的實例。

protected:
 override void Validate();
protected override void Validate();
override this.Validate : unit -> unit
Protected Overrides Sub Validate ()

例外狀況

wa 參數(屬性 Action )並未設定為「wsignin1.0」。

wtrealm 參數與 wreply 參數皆不存在。 (屬性與 Realm 屬性 Reply 為 null 空。)

-或-

wreq 參數與 wreqptr 參數皆存在。 (屬性與 Request 屬性 RequestPtr 皆為集合。)

備註

Important

為了向下相容 Active Directory 同盟服務(AD FS)1.0 版本,Windows 身份基礎(WIF)允許設定 wtrealm 參數或 wreply 參數(或兩者皆可)以使登入訊息有效;然而,WS-Federation 協定要求登入請求中必須包含 wtrealm 參數。 在大多數情況下,你應該確保 wtrealm 參數有指定。

適用於