DataCollectorNotifications.RaiseCustomEvent Method (CustomNotificationEventArgs)
Raises a custom event by using the provided event arguments.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Sub RaiseCustomEvent ( _
eventArgs As CustomNotificationEventArgs _
)
public void RaiseCustomEvent(
CustomNotificationEventArgs eventArgs
)
public:
void RaiseCustomEvent(
CustomNotificationEventArgs^ eventArgs
)
member RaiseCustomEvent :
eventArgs:CustomNotificationEventArgs -> unit
public function RaiseCustomEvent(
eventArgs : CustomNotificationEventArgs
)
Parameters
eventArgs
Type: Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgsA custom class that is derived from CustomNotificationEventArgs.
Remarks
This RaiseCustomEvent method does not return until all diagnostic data adapters have either handled or ignored the event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataCollectorNotifications Class