Export (0) Print
Expand All

LocalMessageReceiver.Dispose Method

Silverlight

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)

[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.

Community Additions

ADD
Show:
© 2014 Microsoft