Share via


ObjectDiagnosticsSession.CloseAsync(String) Method

Definition

Closes this session to stop collecting diagnostics. A closed session should be considered as dead thus its state is invalid.

public:
 System::Threading::Tasks::Task ^ CloseAsync(System::String ^ diagnosticsFilePath);
public System.Threading.Tasks.Task CloseAsync (string diagnosticsFilePath);
member this.CloseAsync : string -> System.Threading.Tasks.Task
Public Function CloseAsync (diagnosticsFilePath As String) As Task

Parameters

diagnosticsFilePath
String

File to store the diagnostics data.

Returns

Applies to