C# Class GoogleCloudSamples.ErrorReportingSample

Afficher le fichier Open project: GoogleCloudPlatform/dotnet-docs-samples Class Usage Examples

Méthodes publiques

Méthode Description
Main ( string args ) : void

Private Methods

Méthode Description
CreateErrorReportingClient ( ) : ClouderrorreportingService

Create the Error Reporting service (ClouderrorreportingService) with the Application Default Credentials and the proper scopes. See: https://developers.google.com/identity/protocols/application-default-credentials.

CreateReportRequest ( Exception e ) : ReportRequest

Creates a ReportRequest from a given exception.

report ( Exception e ) : void

Report an exception to the Error Reporting service.

Method Details

Main() public static méthode

public static Main ( string args ) : void
args string
Résultat void