Loading System.ServiceModel configuration section using ConfigurationManager

前端 未结 5 1601
借酒劲吻你
借酒劲吻你 2020-12-07 18:30

Using C# .NET 3.5 and WCF, I\'m trying to write out some of the WCF configuration in a client application (the name of the server the client is connecting to).

The o

5条回答
  •  无人及你
    2020-12-07 19:07

    The element is for a configuration section group, not a section. You'll need to use System.ServiceModel.Configuration.ServiceModelSectionGroup.GetSectionGroup() to get the whole group.

提交回复
热议问题