Cancels the subscription whether it is synchronous or asynchronous.
[Visual Basic] Public Sub Stop() [C#] public void Stop(); [C++] public: void Stop(); [JScript] public function Stop();
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code