Share via


WSTrustMessage.Lifetime 属性

定义

获取或设置 RequestSecurityToken (RST) 消息内的 wst:Lifetime 元素的内容。

public:
 property System::IdentityModel::Protocols::WSTrust::Lifetime ^ Lifetime { System::IdentityModel::Protocols::WSTrust::Lifetime ^ get(); void set(System::IdentityModel::Protocols::WSTrust::Lifetime ^ value); };
public System.IdentityModel.Protocols.WSTrust.Lifetime Lifetime { get; set; }
member this.Lifetime : System.IdentityModel.Protocols.WSTrust.Lifetime with get, set
Public Property Lifetime As Lifetime

属性值

Lifetime 表示返回的标识有效期间所需的时间。

注解

此可选元素指定返回的安全令牌有效的所需时间范围。

适用于