Partager via


MessageReceivedEventArgs.NameScope Property

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

Gets a value that indicates whether the LocalMessageReceiver is configured to receive messages from the global namescope or from a 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 receiver is configured for a global or domain namescope.

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.