Lifetime 构造函数 (DateTime, DateTime)

命名空间: Microsoft.IdentityModel.Protocols.WSTrust
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim created As DateTime
Dim expires As DateTime

Dim instance As New Lifetime(created, expires)

语法

声明
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
)

参数

  • created
     
  • expires
     

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

Lifetime 类
Lifetime 成员
Microsoft.IdentityModel.Protocols.WSTrust 命名空间