ServiceModelSectionGroup.GetSectionGroup(Configuration) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the system.ServiceModel
configuration section group from the specified configuration file.
public:
static System::ServiceModel::Configuration::ServiceModelSectionGroup ^ GetSectionGroup(System::Configuration::Configuration ^ config);
public static System.ServiceModel.Configuration.ServiceModelSectionGroup GetSectionGroup (System.Configuration.Configuration config);
static member GetSectionGroup : System.Configuration.Configuration -> System.ServiceModel.Configuration.ServiceModelSectionGroup
Public Shared Function GetSectionGroup (config As Configuration) As ServiceModelSectionGroup
Parameters
- config
- Configuration
A Configuration that represents a configuration file.
Returns
A ServiceModelSectionGroup that represents the system.ServiceModel
settings in configuration.
Exceptions
config
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.