Condividi tramite


LocalMessageSender.ReceiverDomain Property

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

Gets the domain of the LocalMessageReceiver that this sender will send messages to.

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

Syntax

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

Property Value

Type: System.String
The domain of the LocalMessageReceiver that this sender will send messages to, depending on the receiver's NameScope property value.

Remarks

If this property is nulla null reference (Nothing in Visual Basic), then the sender can send messages only to a receiver on the same domain. Otherwise, if the receiver's NameScope property is set to Domain, then this property must be set to the name of the receiver's domain. Additionally, if the receiver's NameScope property is set to ReceiverNameScope.Global, then this property must be set to LocalMessageSender.Global.

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.