Visual Basic (Declaration) | |
---|---|
Public MustOverride Sub Cancel() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As QueueItemCommand instance.Cancel() |
C# | |
---|---|
public abstract void Cancel() |
Managed Extensions for C++ | |
---|---|
public: abstract void Cancel(); |
C++/CLI | |
---|---|
public: abstract void Cancel(); |
This method can be safely called from a different thread than the thread where the command actually executed.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7