PassportIdentity.LogoTag 方法

定義

傳回包含 Passport 連結之 HTML <img> 標記的 HTML 片段。 這個類別已被取代。

多載

LogoTag(String, Int32, Int32, String, Int32, Int32, String, Int32, Int32)

傳回包含 Passport 連結之 HTML <img> 標記的 HTML 片段。 這個類別已被取代。

LogoTag(String, Int32, Boolean, String, Int32, Boolean, String, Int32, Boolean)

傳回包含 Passport 連結之 HTML <img> 標記的 HTML 片段。 這個類別已被取代。

LogoTag()

傳回包含 Passport 連結之影像標記的 HTML 片段。 這個類別已被取代。

LogoTag(String)

傳回包含 Passport 連結之 HTML <img> 標記的 HTML 片段。 這個類別已被取代。

備註

這個類別已被取代,不再受到支援。 Microsoft Passport 網路已由 Windows Live ID 取代。

LogoTag(String, Int32, Int32, String, Int32, Int32, String, Int32, Int32)

傳回包含 Passport 連結之 HTML <img> 標記的 HTML 片段。 這個類別已被取代。

public:
 System::String ^ LogoTag(System::String ^ strReturnUrl, int iTimeWindow, int iForceLogin, System::String ^ strCoBrandedArgs, int iLangID, int iSecure, System::String ^ strNameSpace, int iKPP, int iUseSecureAuth);
public string LogoTag (string strReturnUrl, int iTimeWindow, int iForceLogin, string strCoBrandedArgs, int iLangID, int iSecure, string strNameSpace, int iKPP, int iUseSecureAuth);
member this.LogoTag : string * int * int * string * int * int * string * int * int -> string
Public Function LogoTag (strReturnUrl As String, iTimeWindow As Integer, iForceLogin As Integer, strCoBrandedArgs As String, iLangID As Integer, iSecure As Integer, strNameSpace As String, iKPP As Integer, iUseSecureAuth As Integer) As String

參數

strReturnUrl
String

設定位置的 URL,這個位置是登入之後,登入伺服器應該將成員重新導向到的位置。 傳遞 null,表示 Passport 應該使用預設值。

iTimeWindow
Int32

指定成員上一次必須登入的時間間隔。 傳遞 –1,表示 Passport 應該使用預設值。

iForceLogin
Int32

決定 iTimeWindow 參數如何使用。 傳遞 –1,表示 Passport 應該使用預設值。

strCoBrandedArgs
String

指定將變數做為查詢字串變數,附加至參與者 Cobranding Template 指令碼頁的 URL。 傳遞 null,表示 Passport 應該使用預設值。

iLangID
Int32

指定顯示給成員之登入頁面所使用的語言。 傳遞 –1,表示 Passport 應該使用預設值。

iSecure
Int32

宣告這個方法是否要從 HTTPS (SSL) 頁面呼叫。 傳遞 –1,表示 Passport 應該使用預設值。

strNameSpace
String

指定應在其中建立 Passport 的網域。 傳遞 null,表示 Passport 應該使用預設值。

iKPP
Int32

為兒童線上隱私保護法 (Children's Online Privacy Protection Act,COPPA) 規範指定資料收集原則。 傳遞 –1,表示 Passport 應該使用預設值。

iUseSecureAuth
Int32

宣告實際的登入 UI 是否應該是 Passport 網域授權供應的 HTTPS。 傳遞 –1,表示 Passport 應該使用預設值。

傳回

包含 Passport 連結之影像標記的 HTML 片段。

備註

這個類別已被取代,不再受到支援。 Microsoft Passport 網路已由 Windows Live ID 取代。

適用於

LogoTag(String, Int32, Boolean, String, Int32, Boolean, String, Int32, Boolean)

傳回包含 Passport 連結之 HTML <img> 標記的 HTML 片段。 這個類別已被取代。

public:
 System::String ^ LogoTag(System::String ^ strReturnUrl, int iTimeWindow, bool fForceLogin, System::String ^ strCoBrandedArgs, int iLangID, bool fSecure, System::String ^ strNameSpace, int iKPP, bool bUseSecureAuth);
public string LogoTag (string strReturnUrl, int iTimeWindow, bool fForceLogin, string strCoBrandedArgs, int iLangID, bool fSecure, string strNameSpace, int iKPP, bool bUseSecureAuth);
member this.LogoTag : string * int * bool * string * int * bool * string * int * bool -> string
Public Function LogoTag (strReturnUrl As String, iTimeWindow As Integer, fForceLogin As Boolean, strCoBrandedArgs As String, iLangID As Integer, fSecure As Boolean, strNameSpace As String, iKPP As Integer, bUseSecureAuth As Boolean) As String

參數

strReturnUrl
String

設定位置的 URL,這個位置是登入之後,登入伺服器應該將成員重新導向到的位置。 傳遞 null,表示 Passport 應該使用預設值。

iTimeWindow
Int32

指定成員上一次必須登入的時間間隔。 傳遞 –1,表示 Passport 應該使用預設值。

fForceLogin
Boolean

決定 iTimeWindow 參數如何使用。 傳遞 –1,表示 Passport 應該使用預設值。

strCoBrandedArgs
String

指定將變數做為查詢字串變數,附加至參與者 Cobranding Template 指令碼頁的 URL。 傳遞 null,表示 Passport 應該使用預設值。

iLangID
Int32

指定顯示給成員之登入頁面所使用的語言。 傳遞 –1,表示 Passport 應該使用預設值。

fSecure
Boolean

宣告這個方法是否要從 HTTPS (SSL) 頁面呼叫。 傳遞 –1,表示 Passport 應該使用預設值。

strNameSpace
String

指定應在其中建立 Passport 的網域。 傳遞 null,表示 Passport 應該使用預設值。

iKPP
Int32

為兒童線上隱私保護法 (Children's Online Privacy Protection Act,COPPA) 規範指定資料收集原則。 傳遞 –1,表示 Passport 應該使用預設值。

bUseSecureAuth
Boolean

宣告實際的登入 UI 是否應該是 Passport 網域授權供應的 HTTPS。 傳遞 –1,表示 Passport 應該使用預設值。

傳回

包含 Passport 連結之影像標記的 HTML 片段。

備註

這個類別已被取代,不再受到支援。 Microsoft Passport 網路已由 Windows Live ID 取代。

適用於

LogoTag()

傳回包含 Passport 連結之影像標記的 HTML 片段。 這個類別已被取代。

public:
 System::String ^ LogoTag();
public string LogoTag ();
member this.LogoTag : unit -> string
Public Function LogoTag () As String

傳回

包含 Passport 連結之影像標記的 HTML 片段。

範例

// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Set a string to the URL of the appropriate Passport SignIn/SignOut authority.
string sPassportlink = newPass.LogoTag();
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Set a string to the URL of the appropriate Passport 
' SignIn/SignOut Authority.
Dim sPassportlink As String = newPass.LogoTag()

備註

這個類別已被取代,不再受到支援。 Microsoft Passport 網路已由 Windows Live ID 取代。

適用於

LogoTag(String)

傳回包含 Passport 連結之 HTML <img> 標記的 HTML 片段。 這個類別已被取代。

public:
 System::String ^ LogoTag(System::String ^ strReturnUrl);
public string LogoTag (string strReturnUrl);
member this.LogoTag : string -> string
Public Function LogoTag (strReturnUrl As String) As String

參數

strReturnUrl
String

設定位置的 URL,這個位置是登入之後,登入伺服器應該將成員重新導向到的位置。 傳遞 null,表示 Passport 應該使用預設值。

傳回

包含 Passport 連結之影像標記的 HTML 片段。

備註

這個類別已被取代,不再受到支援。 Microsoft Passport 網路已由 Windows Live ID 取代。

適用於