Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Silverlight
 Dispose Method
Collapse All/Expand All Collapse All
.NET Framework Class Library for Silverlight
LocalMessageReceiver..::.Dispose Method

Stops the receiver from receiving messages and releases all resources used by the receiver.

Namespace:  System.Windows.Messaging
Assembly:  System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
<SecuritySafeCriticalAttribute> _
Public Sub Dispose
C#
[SecuritySafeCriticalAttribute]
public void Dispose()

Implements

IDisposable..::.Dispose()()()

You must call the Dispose method to stop receiving messages and to mark the LocalMessageReceiver as being available for garbage collection. If you do not call Dispose, the receiver will not be disposed until application shutdown.

For more information, see Communication Between Local Silverlight-Based Applications.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker