Visual Basic (Declaration) | |
---|---|
Public Delegate Sub ReceiveBufferDelegate( _ ByVal sender As Object, _ ByVal e As ReceiveBufferEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New ReceiveBufferDelegate(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void ReceiveBufferDelegate( object sender, ReceiveBufferEventArgs e ) |
Managed Extensions for C++ | |
---|---|
public: __gc __delegate void ReceiveBufferDelegate( Object* sender, ReceiveBufferEventArgs* e ) |
C++/CLI | |
---|---|
public delegate void ReceiveBufferDelegate( Object^ sender, ReceiveBufferEventArgs^ 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).
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7