StandardEndpointsSection.GetSection(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.
Returns the standard endpoints section from the specified configuration file.
public:
static System::ServiceModel::Configuration::StandardEndpointsSection ^ GetSection(System::Configuration::Configuration ^ config);
public static System.ServiceModel.Configuration.StandardEndpointsSection GetSection (System.Configuration.Configuration config);
static member GetSection : System.Configuration.Configuration -> System.ServiceModel.Configuration.StandardEndpointsSection
Public Shared Function GetSection (config As Configuration) As StandardEndpointsSection
Parameters
- config
- Configuration
An object that contains one or more XML sections of configuration settings.
Returns
A standard endpoints configuration section.
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.