Sdílet prostřednictvím


LocalMessageReceiver.AllowedSenderDomains Property

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

Gets the domains that the receiver can receive messages from.

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

Syntax

'Declaration
Public ReadOnly Property AllowedSenderDomains As IEnumerable(Of String)
public IEnumerable<string> AllowedSenderDomains { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<String>
The domains that the receiver can receive messages from, or AnyDomain if the receiver can receive messages from any domain.

Remarks

If this property is nulla null reference (Nothing in Visual Basic), then the receiver can receive messages only from senders on the same domain.

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.