PipeStream.WaitForPipeDrain Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Waits for the other end of the pipe to read all sent bytes.
public:
void WaitForPipeDrain();
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public void WaitForPipeDrain ();
public void WaitForPipeDrain ();
[System.Security.SecurityCritical]
public void WaitForPipeDrain ();
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.WaitForPipeDrain : unit -> unit
member this.WaitForPipeDrain : unit -> unit
[<System.Security.SecurityCritical>]
member this.WaitForPipeDrain : unit -> unit
Public Sub WaitForPipeDrain ()
- Attributes
Exceptions
The pipe is closed.
The pipe does not support write operations.
The pipe is broken or another I/O error occurred.
Remarks
The WaitForPipeDrain method blocks until the other end of the pipe has read all sent bytes.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.