ServiceModelConfigurationSection.AllowDefinition Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets the allowDefinition attribute in the XML internal resource.
Namespace: System.ServiceModel.Install.Configuration
Assembly: System.ServiceModel.Install (in System.ServiceModel.Install.dll)
Syntax
'Declaration
Public Property AllowDefinition As String
Get
Set
'Usage
Dim instance As ServiceModelConfigurationSection
Dim value As String
value = instance.AllowDefinition
instance.AllowDefinition = value
public string AllowDefinition { get; set; }
public:
property String^ AllowDefinition {
String^ get ();
void set (String^ value);
}
function get AllowDefinition () : String
function set AllowDefinition (value : String)
member AllowDefinition : string with get, set
Property Value
Type: System.String
The allowDefinition attribute in the XML internal resource.
Remarks
This property can be used to deserialize the allowDefinition attribute in the XML internal resource. It is used during registration to set the attribute of the same name on the configuration section handler in the Machine.config configuration file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4, 3.5, 3.0
See Also
Reference
ServiceModelConfigurationSection Class