PassportIdentity.TicketAge 속성

정의

마지막으로 티켓을 발행하거나 새로 고친 이후의 시간(초)을 가져옵니다. 이 클래스는 사용되지 않습니다.

public:
 property int TicketAge { int get(); };
public int TicketAge { get; }
member this.TicketAge : int
Public ReadOnly Property TicketAge As Integer

속성 값

Int32

마지막으로 티켓을 발행하거나 새로 고친 이후의 시간(초)입니다.

예제

// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Build a string with the elapsed time since the user's ticket was last refreshed with the Passport Authority.
string sElapsedTime = "Elapsed time since ticket refresh: " + newPass.TicketAge.ToString() + " seconds.";
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Build a string with the elapsed time since the user's ticket was last refreshed 
' with the Passport Authority.
Dim sElapsedTime As String = "Elapsed time since ticket refresh: " + newPass.TicketAge.ToString() + " seconds."

설명

이 클래스는 않으며는 지원 되지 않습니다. Microsoft Passport Network가 Windows Live ID로 대체되었습니다.

적용 대상