Aracılığıyla paylaş


PassportIdentity.TicketAge Özellik

Tanım

Son biletin verilmesinden veya yenilenmesinden bu yana geçen süreyi saniye olarak alır. Bu sınıf kullanım dışı bırakıldı.

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

Özellik Değeri

Son biletin verilmesinden veya yenilenmesinden bu yana saniye olarak geçen süre.

Örnekler

// 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."

Açıklamalar

Bu sınıf kullanım dışı bırakıldı ve artık desteklenmiyor. Microsoft Passport Network, Windows Live ID ile değiştirildi.

Şunlara uygulanır