DelegatingConfigHost.WriteCompleted 方法

定义

指示已完成所有写入配置文件操作,并指定是否应断言权限。Indicates that all writing to the configuration file has completed and specifies whether permissions should be asserted.

重载

WriteCompleted(String, Boolean, Object)

此 API 支持产品基础结构,不能在代码中直接使用。

指示已完成所有写入配置文件操作。Indicates that all writing to the configuration file has completed.

WriteCompleted(String, Boolean, Object, Boolean)

此 API 支持产品基础结构,不能在代码中直接使用。

指示已完成所有写入配置文件操作,并指定是否应断言权限。Indicates that all writing to the configuration file has completed and specifies whether permissions should be asserted.

WriteCompleted(String, Boolean, Object)

指示已完成所有写入配置文件操作。Indicates that all writing to the configuration file has completed.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 virtual void WriteCompleted(System::String ^ streamName, bool success, System::Object ^ writeContext);
public virtual void WriteCompleted (string streamName, bool success, object writeContext);
abstract member WriteCompleted : string * bool * obj -> unit
override this.WriteCompleted : string * bool * obj -> unit
Public Overridable Sub WriteCompleted (streamName As String, success As Boolean, writeContext As Object)

参数

streamName
String

对配置文件执行 I/O 任务的 Stream 对象的名称。The name of a Stream object performing I/O tasks on a configuration file.

success
Boolean

如果已成功完成对配置文件的写入,则为 true;否则为 falsetrue if writing to the configuration file completed successfully; otherwise, false.

writeContext
Object

对配置文件执行 I/O 任务的 Stream 对象的写上下文。The write context of the Stream object performing I/O tasks on the configuration file.

实现

适用于

WriteCompleted(String, Boolean, Object, Boolean)

指示已完成所有写入配置文件操作,并指定是否应断言权限。Indicates that all writing to the configuration file has completed and specifies whether permissions should be asserted.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 virtual void WriteCompleted(System::String ^ streamName, bool success, System::Object ^ writeContext, bool assertPermissions);
public virtual void WriteCompleted (string streamName, bool success, object writeContext, bool assertPermissions);
abstract member WriteCompleted : string * bool * obj * bool -> unit
override this.WriteCompleted : string * bool * obj * bool -> unit
Public Overridable Sub WriteCompleted (streamName As String, success As Boolean, writeContext As Object, assertPermissions As Boolean)

参数

streamName
String

对配置文件执行 I/O 任务的 Stream 对象的名称。The name of a Stream object performing I/O tasks on a configuration file.

success
Boolean

true 指示已成功完成写入操作;否则为 falsetrue to indicate that writing was completed successfully; otherwise, false.

writeContext
Object

对配置文件执行 I/O 任务的 Stream 对象的写上下文。The write context of the Stream object performing I/O tasks on the configuration file.

assertPermissions
Boolean

如果断言权限,则为 true;否则为 falsetrue to assert permissions; otherwise, false.

实现

适用于