カスタム通知への応答時に発生します。
名前空間: Microsoft.VisualStudio.TestTools.Execution
アセンブリ: Microsoft.VisualStudio.QualityTools.ExecutionCommon (Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 内)
構文
'宣言
Public MustOverride Event CustomNotification As EventHandler(Of CustomNotificationEventArgs)
public abstract event EventHandler<CustomNotificationEventArgs> CustomNotification
public:
virtual event EventHandler<CustomNotificationEventArgs^>^ CustomNotification {
void add (EventHandler<CustomNotificationEventArgs^>^ value);
void remove (EventHandler<CustomNotificationEventArgs^>^ value);
}
abstract CustomNotification : IEvent<EventHandler<CustomNotificationEventArgs>,
CustomNotificationEventArgs>
JScript では、イベントは使用できません。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。