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