Export (0) Print
Expand All

ServiceModelSectionGroup Class

Represents the main configuration section for Windows Communication Foundation (WCF). This class cannot be inherited.

System.Object
  System.Configuration.ConfigurationSectionGroup
    System.ServiceModel.Configuration.ServiceModelSectionGroup

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

'Declaration
Public NotInheritable Class ServiceModelSectionGroup _
	Inherits ConfigurationSectionGroup

The ServiceModelSectionGroup type exposes the following members.

  NameDescription
Public methodServiceModelSectionGroupInitializes a new instance of the ServiceModelSectionGroup class.
Top

  NameDescription
Public propertyBehaviorsGets the configuration section that contains child entries that are behavior elements.
Public propertyBindingsGets the configuration section that contains all the bindings.
Public propertyClientGets the configuration section that contains a list of endpoints that a client uses to connect to a service.
Public propertyComContractsGets the configuration section that defines the namespace and contract name for a service contract used in COM+ interoperability.
Public propertyCommonBehaviorsGets the configuration section that contains a list of behaviors that is applied to all WCF services on the machine before the behaviors in the behaviors section are applied.
Public propertyDiagnosticGets the configuration section for the diagnostics features of WCF.
Public propertyExtensionsGets a configuration section that defines all the extensions.
Public propertyIsDeclarationRequiredGets a value that indicates whether this ConfigurationSectionGroup object declaration is required. (Inherited from ConfigurationSectionGroup.)
Public propertyIsDeclaredGets a value that indicates whether this ConfigurationSectionGroup object is declared. (Inherited from ConfigurationSectionGroup.)
Public propertyNameGets the name property of this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertyProtocolMappingGets an endpoint configuration section that defines the communications protocol.
Public propertySectionGroupNameGets the section group name associated with this ConfigurationSectionGroup. (Inherited from ConfigurationSectionGroup.)
Public propertySectionGroupsGets a ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertySectionsGets a ConfigurationSectionCollection object that contains all of ConfigurationSection objects within this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertyServiceHostingEnvironmentGets the configuration section that defines what type the service hosting environment instantiates for a particular transport.
Public propertyServicesGets the configuration section that defines a collection of services.
Public propertyStandardEndpointsGets a configuration section for the standard endpoints.
Public propertyTypeGets or sets the type for this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodForceDeclarationForces the declaration for this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public methodForceDeclaration(Boolean)Forces the declaration for this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetSectionGroupGets the system.ServiceModel configuration section group from the specified configuration file.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodShouldSerializeSectionGroupInTargetVersionIndicates whether the current ConfigurationSectionGroup instance should be serialized when the configuration object hierarchy is serialized for the specified target version of the .NET Framework. (Inherited from ConfigurationSectionGroup.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

All WCF configuration elements are nested in the system.serviceModel element of the configuration file. WCF does not add elements to the configuration sections of other products.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft