Freigeben über


LocalMessageReceiver.NameScope Property

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

Gets a value that indicates whether the ReceiverName is scoped to the global namescope or to the receiver's specific domain.

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

Syntax

'Declaration
Public ReadOnly Property NameScope As ReceiverNameScope
public ReceiverNameScope NameScope { get; }

Property Value

Type: System.Windows.Messaging.ReceiverNameScope
A value that indicates whether the ReceiverName is scoped to the global namescope or to the receiver's specific domain.

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.