WebClient.WriteStreamClosed 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
在使用写入流将数据写入资源的异步操作结束时发生。
public:
event System::Net::WriteStreamClosedEventHandler ^ WriteStreamClosed;
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public event System.Net.WriteStreamClosedEventHandler? WriteStreamClosed;
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public event System.Net.WriteStreamClosedEventHandler WriteStreamClosed;
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.WriteStreamClosed : System.Net.WriteStreamClosedEventHandler
Public Custom Event WriteStreamClosed As WriteStreamClosedEventHandler
事件类型
- 属性
注解
每次关闭使用写入流将数据写入资源的异步操作时,都会引发此事件。 这些操作源于对 OpenWriteTaskAsync 方法的调用。
是 WriteStreamClosedEventHandler 此事件的委托。 类 WriteStreamClosedEventArgs 为事件处理程序提供事件数据。
有关如何处理事件的详细信息,请参阅 处理和引发事件。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈