Edit

Share via


IServerWebConfig.Create(String, String, String) Method

Definition

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.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void Create(System::String ^ FilePath, System::String ^ FileRootName, [Runtime::InteropServices::Out] System::String ^ % Error);
public void Create (string FilePath, string FileRootName, out string Error);
abstract member Create : string * string * string -> unit
Public Sub Create (FilePath As String, FileRootName As String, ByRef Error As String)

Parameters

FilePath
String

The folder in which to create the configuration file.

FileRootName
String

The string value to which a config extension can be added (for example, Web for Web.config).

Error
String

A string to which an error message can be written.

Remarks

See the Create method for implementation details. However, you do not need to call Create directly.

Applies to