Saml2Conditions.OneTimeUse 属性

Specifies that the assertion SHOULD be used immediately and MUST NOT be retained for future use. [Saml2Core, 2.5.1]

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

用法

    Dim instance As Saml2Conditions
Dim value As Boolean

value = instance.OneTimeUse

instance.OneTimeUse = value

语法

声明
Public Property OneTimeUse As Boolean
public bool OneTimeUse { get; set; }
public:
property bool OneTimeUse {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_OneTimeUse ()

/** @property */
public void set_OneTimeUse (boolean value)
public function get OneTimeUse () : boolean

public function set OneTimeUse (value : boolean)

属性值

true if the assertion must be used immediately; otherwise, false.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

Saml2Conditions 类
Saml2Conditions 成员
Microsoft.IdentityModel.Tokens.Saml2 命名空间