共用方式為


AnnouncementService.OfflineAnnouncementReceived 事件

定義

當收到離線公告 (再見) 訊息時發生。

public:
 event EventHandler<System::ServiceModel::Discovery::AnnouncementEventArgs ^> ^ OfflineAnnouncementReceived;
public event EventHandler<System.ServiceModel.Discovery.AnnouncementEventArgs> OfflineAnnouncementReceived;
member this.OfflineAnnouncementReceived : EventHandler<System.ServiceModel.Discovery.AnnouncementEventArgs> 
Public Custom Event OfflineAnnouncementReceived As EventHandler(Of AnnouncementEventArgs) 
Public Event OfflineAnnouncementReceived As EventHandler(Of AnnouncementEventArgs) 

事件類型

EventHandler<AnnouncementEventArgs>

適用於