Editar

Compartir a través de


ServiceModelSectionGroup Class

Definition

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

public ref class ServiceModelSectionGroup sealed : System::Configuration::ConfigurationSectionGroup
public sealed class ServiceModelSectionGroup : System.Configuration.ConfigurationSectionGroup
type ServiceModelSectionGroup = class
    inherit ConfigurationSectionGroup
Public NotInheritable Class ServiceModelSectionGroup
Inherits ConfigurationSectionGroup
Inheritance
ServiceModelSectionGroup

Remarks

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.

Constructors

ServiceModelSectionGroup()

Initializes a new instance of the ServiceModelSectionGroup class.

Properties

Behaviors

Gets the configuration section that contains child entries that are behavior elements.

Bindings

Gets the configuration section that contains all the bindings.

Client

Gets the configuration section that contains a list of endpoints that a client uses to connect to a service.

ComContracts

Gets the configuration section that defines the namespace and contract name for a service contract used in COM+ interoperability.

CommonBehaviors

Gets 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.

Diagnostic

Gets the configuration section for the diagnostics features of WCF.

Extensions

Gets a configuration section that defines all the extensions.

IsDeclarationRequired

Gets a value that indicates whether this ConfigurationSectionGroup object declaration is required.

(Inherited from ConfigurationSectionGroup)
IsDeclared

Gets a value that indicates whether this ConfigurationSectionGroup object is declared.

(Inherited from ConfigurationSectionGroup)
Name

Gets the name property of this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
ProtocolMapping

Gets an endpoint configuration section that defines the communications protocol.

SectionGroupName

Gets the section group name associated with this ConfigurationSectionGroup.

(Inherited from ConfigurationSectionGroup)
SectionGroups

Gets a ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
Sections

Gets a ConfigurationSectionCollection object that contains all of ConfigurationSection objects within this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
ServiceHostingEnvironment

Gets the configuration section that defines what type the service hosting environment instantiates for a particular transport.

Services

Gets the configuration section that defines a collection of services.

StandardEndpoints

Gets a configuration section for the standard endpoints.

Type

Gets or sets the type for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ForceDeclaration()

Forces the declaration for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
ForceDeclaration(Boolean)

Forces the declaration for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSectionGroup(Configuration)

Gets the system.ServiceModel configuration section group from the specified configuration file.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeSectionGroupInTargetVersion(FrameworkName)

Indicates 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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to