ServerWebConfig 类
定义
为启用 SOAP 的 COM+ 应用程序创建 Web.config 文件。Creates a Web.config file for a SOAP-enabled COM+ application. 还可以在该文件中为要在应用程序中发布的 COM 接口添加组件项。Can also add component entries to the file for COM interfaces being published in the application.
此 API 支持产品基础结构,不能在代码中直接使用。
public ref class ServerWebConfig : System::EnterpriseServices::Internal::IServerWebConfig
public class ServerWebConfig : System.EnterpriseServices.Internal.IServerWebConfig
type ServerWebConfig = class
interface IServerWebConfig
Public Class ServerWebConfig
Implements IServerWebConfig
- 继承
-
ServerWebConfig
- 实现
注解
ServerWebConfig在为启用 SOAP 的 COM + 应用程序 Internet Information Services (IIS) 6.0 中创建虚拟根期间,类用于创建 Web.config 文件。The ServerWebConfig class is used to create a Web.config file during creation of a virtual root in Internet Information Services (IIS) 6.0 for a SOAP-enabled COM+ application. 它还可以将 XML 元素添加到要添加到应用程序中的组件接口的 Web.config 文件。It also can add XML elements to the Web.config file for component interfaces being added to the application.
ServerWebConfig 由 .NET Framework 在内部使用。ServerWebConfig is used internally by the .NET Framework. 不需要直接在代码中使用它。You do not need to use it directly in your code.
构造函数
| ServerWebConfig() |
此 API 支持产品基础结构,不能在代码中直接使用。 初始化 ServerWebConfig 类的新实例。Initializes a new instance of the ServerWebConfig class. |
方法
| AddElement(String, String, String, String, String, String) |
此 API 支持产品基础结构,不能在代码中直接使用。 在 Web.config 文件中为要在启用 SOAP 的 COM+ 应用程序中发布的 COM 接口添加 XML 元素。Adds XML elements to a Web.config file for a COM interface being published in a SOAP-enabled COM+ application. |
| Create(String, String, String) |
此 API 支持产品基础结构,不能在代码中直接使用。 为启用 SOAP 的 COM+ 应用程序创建 Web.config 文件,以便准备在该文件中为要发布的 COM 接口添加 XML 元素。Creates a Web.config file for a SOAP-enabled COM+ application so that the file is ready to have XML elements added for COM interfaces being published. |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |