共用方式為


System.Windows.Messaging Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Provides types that support the creation of local messaging channels between multiple Silverlight-based applications.

Classes

  Class Description
Public class ListenFailedException Represents an exception that occurs when a LocalMessageReceiver cannot be registered.
Public class LocalMessageReceiver Represents the receiving end of a local messaging channel between two Silverlight-based applications.
Public class LocalMessageSender Represents the sending end of a local messaging channel between two Silverlight-based applications.
Public class MessageReceivedEventArgs Provides data for the LocalMessageReceiver.MessageReceived event.
Public class SendCompletedEventArgs Provides data for the LocalMessageSender.SendCompleted event.
Public class SendFailedException Represents an exception that can occur when a LocalMessageSender fails to send a message.

Enumerations

  Enumeration Description
Public enumeration ReceiverNameScope Defines values that indicate whether a LocalMessageReceiver name is scoped to the global domain or to a specific domain.