Renewing 构造函数
定义
重载
| Renewing() |
使用默认属性值初始化 RenewingRenewing 类的新实例。Initializes a new instance of the RenewingRenewing class with default property values. |
| Renewing(Boolean, Boolean) |
用指定的值初始化 RenewingRenewing 类的新实例。Initializes a new instance of the RenewingRenewing class with the specified values. |
Renewing()
public:
Renewing();
public Renewing ();
Public Sub New ()
注解
下表显示了新实例的初始属性值 Renewing 。The following table shows the initial property values for the new Renewing instance.
| PropertyProperty | “值”Value |
|---|---|
| AllowRenewal | true |
| OkForRenewalAfterExpiration | false |
适用于
Renewing(Boolean, Boolean)
public:
Renewing(bool allowRenewal, bool okForRenewalAfterExpiration);
public Renewing (bool allowRenewal, bool okForRenewalAfterExpiration);
new System.IdentityModel.Protocols.WSTrust.Renewing : bool * bool -> System.IdentityModel.Protocols.WSTrust.Renewing
Public Sub New (allowRenewal As Boolean, okForRenewalAfterExpiration As Boolean)
参数
- allowRenewal
- Boolean
如果允许更新,则为 true;否则为 false。true if renewal is permitted; otherwise, false.
- okForRenewalAfterExpiration
- Boolean
如果请求的标记在其过期后还可以进行更新,则为 true;否则为 false。true if the requested token can be renewed after it has expired; otherwise, false.
注解
新实例的属性 Renewing 根据参数的值进行设置。The properties of the new Renewing instance are set according to the value of the parameters.