Visual Basic (Declaration) | |
---|---|
Public Delegate Sub BeforeConnectDelegate( _ ByVal sender As Object, _ ByVal e As BeforeConnectEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New BeforeConnectDelegate(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void BeforeConnectDelegate( object sender, BeforeConnectEventArgs e ) |
Managed Extensions for C++ | |
---|---|
public: __gc __delegate void BeforeConnectDelegate( Object* sender, BeforeConnectEventArgs* e ) |
C++/CLI | |
---|---|
public delegate void BeforeConnectDelegate( Object^ sender, BeforeConnectEventArgs^ e ) |
Parameters
- sender
- The source of the event.
- e
- Additional event data that contains event data.
For an example refer to QueryRetrieveScu.Find(DicomScp,FindQuery).
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7