Compartilhar via


CodeAnalysisResult.SerializeResultsToXml Method

Definition

Overloads

SerializeResultsToXml(Stream)

Serializes the results in XML format to an output stream. For backwards compatibility

Only the problems discovered during analysis are output. No errors that occurred during the analysis process will be output.

SerializeResultsToXml(String)

Serializes the results in XML format to an output file.

Only the problems discovered during analysis are output. No errors that occurred during the analysis process will be output.

SerializeResultsToXml(Stream)

Serializes the results in XML format to an output stream. For backwards compatibility

Only the problems discovered during analysis are output. No errors that occurred during the analysis process will be output.

public void SerializeResultsToXml (System.IO.Stream output);
member this.SerializeResultsToXml : System.IO.Stream -> unit
Public Sub SerializeResultsToXml (output As Stream)

Parameters

output
Stream

An output stream to write the XML results to. This must support write

Applies to

SerializeResultsToXml(String)

Serializes the results in XML format to an output file.

Only the problems discovered during analysis are output. No errors that occurred during the analysis process will be output.

public void SerializeResultsToXml (string outputFilename);
member this.SerializeResultsToXml : string -> unit
Public Sub SerializeResultsToXml (outputFilename As String)

Parameters

outputFilename
String

The filename for the output file. This should be a fully qualified path to the file, or if a relative file path is used then the resolved path will be relative to the location of the executable running for your process. If a relative file path is used this w

Applies to