PipeStream.IsAsync 属性

定义

获取一个值,该值指示 PipeStream 对象是异步打开还是同步打开。Gets a value indicating whether a PipeStream object was opened asynchronously or synchronously.

public:
 property bool IsAsync { bool get(); };
public bool IsAsync { get; }
member this.IsAsync : bool
Public ReadOnly Property IsAsync As Boolean

属性值

如果 true 对象是异步打开的,则为 PipeStream;否则为 falsetrue if the PipeStream object was opened asynchronously; otherwise, false.

注解

此属性使您的代码能够正确使用 SafePipeHandle 属性。This property enables your code to use the SafePipeHandle property correctly.

适用于