Sdílet prostřednictvím


CrossDomainAccess Enumeration

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

Defines values that specify the access that cross-domain callers have to a Silverlight-based application.

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

Syntax

'Declaration
Public Enumeration CrossDomainAccess
public enum CrossDomainAccess
<Deployment xmlns="https://schemas.microsoft.com/client/2007/deployment" ExternalCallersFromCrossDomain="enumMemberName" .../>

Members

Member name Description
NoAccess Cross-domain callers have no access to the Silverlight application.
ScriptableOnly Cross-domain callers have script access to the Silverlight application.

Remarks

This enumeration is used by the Deployment.ExternalCallersFromCrossDomain property.

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.