Compartilhar via


FaultEvent.AddProcessDump(Int32) Method

Definition

NOTE: When using FaultEvent from VisualStudio, you are strongly encouraged to not directly call AddProcessDump for the current process, but instead remotely trigger it with a targeted notification. Search for "APPLYING BUCKET FILTERS TO FAULT EVENTS" in the VS repo for details.

Add the process id of a process for which to collect a dump Dump collection doese not occur unless the Watson back end requests a dump You can request a heap dump for a particular bucket from the Watson portal: https://watsonportal.microsoft.com/. Dump collection is out of process, to reduce chance of deadlock

public:
 virtual void AddProcessDump(int pid);
public void AddProcessDump (int pid);
abstract member AddProcessDump : int -> unit
override this.AddProcessDump : int -> unit
Public Sub AddProcessDump (pid As Integer)

Parameters

pid
Int32

Implements

Applies to