SafeProcessHandle.IsInvalid 属性
定义
获取一个值,该值指示句柄是否无效。Gets a value that indicates whether the handle is invalid.
public:
virtual property bool IsInvalid { bool get(); };
[get: System.Security.SecurityCritical]
public override bool IsInvalid { get; }
public override bool IsInvalid { get; }
[<get: System.Security.SecurityCritical>]
member this.IsInvalid : bool
member this.IsInvalid : bool
Public Overrides ReadOnly Property IsInvalid As Boolean
属性值
如果句柄无效,则为 true;否则为 false。true if the handle is not valid; otherwise, false.
- 属性