ObjectDiagnosticsSession.CloseAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.