Share via


WSTrustMessage.KeySizeInBits 属性

定义

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

public:
 property Nullable<int> KeySizeInBits { Nullable<int> get(); void set(Nullable<int> value); };
public int? KeySizeInBits { get; set; }
member this.KeySizeInBits : Nullable<int> with get, set
Public Property KeySizeInBits As Nullable(Of Integer)

属性值

密钥的大小(以位为单位)。

例外

尝试将设置一个小于或等于零的值。

适用于