Sdílet prostřednictvím


LocalMessageReceiver.ReceiverName Property

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

Gets the name of the receiver.

Namespace:  System.Windows.Messaging
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property ReceiverName As String
public string ReceiverName { get; }

Property Value

Type: System.String
The name of the receiver.

Remarks

The receiver name must be unique within the receiver's domain, or globally, depending on the value of the NameScope property. When you create a LocalMessageSender, you must identify the corresponding receiver by name.

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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