Google.Cloud.Diagnostics.AspNetCore3 - Class AspNetCoreErrorReportingExtensions (5.1.0)

public static class AspNetCoreErrorReportingExtensions

Reference documentation and code samples for the Google.Cloud.Diagnostics.AspNetCore3 class AspNetCoreErrorReportingExtensions.

Extensions for configuring Google Cloud Error Reporting in ASP.NET Core applications.

Inheritance

object > AspNetCoreErrorReportingExtensions

Namespace

GoogleCloudGoogle.Cloud.DiagnosticsAspNetCore3

Assembly

Google.Cloud.Diagnostics.AspNetCore3.dll

Methods

AddGoogleErrorReportingForAspNetCore(IServiceCollection, ErrorReportingServiceOptions)

public static IServiceCollection AddGoogleErrorReportingForAspNetCore(this IServiceCollection services, ErrorReportingServiceOptions options = null)

Configures Google Cloud Error Reporting for ASP .NET Core applications./>.

Parameters
NameDescription
servicesIServiceCollection
optionsErrorReportingServiceOptions
Returns
TypeDescription
IServiceCollection