Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

Visual Basic
Dim created As DateTime
Dim expires As DateTime

Dim instance As New Lifetime(created, expires)

Синтаксис

Visual Basic
Public Sub New ( _
		created As DateTime, _
		expires As DateTime _
)
C#
public Lifetime (
		DateTime created,
		DateTime expires
)
C++
public:
Lifetime (
		DateTime created, 
		DateTime expires
)
J#
public Lifetime (
		DateTime created, 
		DateTime expires
)
JScript
public function Lifetime (
		created : DateTime, 
		expires : DateTime
)

Параметры

created
expires

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

См. также