CompletedEventHandler Delegate

 

Represents the method that will handle the Completed event.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

public delegate void CompletedEventHandler(
	Object^ sender,
	CompletedEventArgs^ e
)

Parameters

sender
Type: System::Object^

The instance of the object for which to invoke this method.

e
Type: System.Management::CompletedEventArgs^

The CompletedEventArgs that specifies the reason the event was invoked.

The following example calls a method asynchronously. The Win32_Process.Create method is called to create a new process for Calc.exe.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: