WebHttpBindingElement.CrossDomainScriptAccessEnabled Property

.NET Framework (current version)
 

Gets or sets a value that indicates whether cross domain scripting is permitted.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

[ConfigurationPropertyAttribute("crossDomainScriptAccessEnabled", 
	DefaultValue = false)]
public bool CrossDomainScriptAccessEnabled { get; set; }

Property Value

Type: System.Boolean

true if cross domain scripting is permitted; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: