共用方式為


IFaultUtility Interface

Definition

Interface for FaultCallback used for native code callers too

public interface class IFaultUtility
public interface IFaultUtility
type IFaultUtility = interface
Public Interface IFaultUtility
Derived

Methods

AddErrorInformation(String)

Each Watson dump includes a text file (ErrrorInformation.txt) with basic information such as Error.ToString, telemtry properties, etc. Call this to add information to the file

AddFile(String)

Include a file in the report

AddProcessDump(Int32)

Creates a process dump. The dump type (Full/Mini) is controlled by the Watson back end

GetBucketParameter(Int32)

Get the value for a particular bucket. Useful to get the values in the callback to see what they were set to

SetBucketParameter(Int32, String)

Set the bucket parameter

Applies to