Lifetime Constructor (DateTime, DateTime)

Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

    Dim created As DateTime
Dim expires As DateTime

Dim instance As New Lifetime(created, expires)

Syntax

'Declaration
Public Sub New ( _
    created As DateTime, _
    expires As DateTime _
)
public Lifetime (
    DateTime created,
    DateTime expires
)
public:
Lifetime (
    DateTime created, 
    DateTime expires
)
public Lifetime (
    DateTime created, 
    DateTime expires
)
public function Lifetime (
    created : DateTime, 
    expires : DateTime
)

Parameters

  • created
     
  • expires
     

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also

Reference

Lifetime Class
Lifetime Members
Microsoft.IdentityModel.Protocols.WSTrust Namespace