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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.