IInternalConfigHost.WriteCompleted 方法

定义

指示已完成所有写入配置文件操作,并指定是否应断言权限。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.

WriteCompleted(String, Boolean, Object, Boolean)

指示已完成所有写入配置文件操作,并指定是否应断言权限。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.

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

参数

streamName
String

一个字符串,它表示对配置文件执行 I/O 任务的 Stream 对象的名称。A string representing the name of the Stream object performing I/O tasks on the configuration file.

success
Boolean

如果已成功完成写入配置文件操作,则为 true;否则为 falsetrue if the write to the configuration file 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.

适用于

WriteCompleted(String, Boolean, Object, Boolean)

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

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

参数

streamName
String

一个字符串,它表示对配置文件执行 I/O 任务的 Stream 对象的名称。A string representing the name of the Stream object performing I/O tasks on the configuration file.

success
Boolean

如果指示已成功完成写入操作,则为 true;否则为 falsetrue to indicate the write 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.

适用于