| Visual Basic (Declaration) | |
|---|---|
Public Event BeforeNCreate As EventHandler(Of CommonEventArgs) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As PerformedProcedureStepScu Dim handler As EventHandler(Of CommonEventArgs) AddHandler instance.BeforeNCreate, handler | |
| C# | |
|---|---|
public event EventHandler<CommonEventArgs> BeforeNCreate | |
| Managed Extensions for C++ | |
|---|---|
public: __event EventHandler<CommonEventArgs*>* BeforeNCreate | |
| C++/CLI | |
|---|---|
public: event EventHandler<CommonEventArgs^>^ BeforeNCreate | |
The event handler receives an argument of type CommonEventArgs containing data related to this event. The following CommonEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| AffectedClass | Gets the affected class. |
| DataSet | Gets the data set. |
| Instance | Gets the instance. |
| MessageID | Gets or sets the message ID. |
| PresentationID | Gets the presentation context id. |
| Scp (Inherited from Leadtools.Dicom.Scu.Common.BaseEventArgs) | Gets the SCP. |
For an example refer to Create<TData>(DicomScp,TData)
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code