Class AspNetCoreErrorReportingExtensions (5.0.0)

public static class AspNetCoreErrorReportingExtensions

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

Inheritance

Object > AspNetCoreErrorReportingExtensions

Namespace

Google.Cloud.Diagnostics.AspNetCore3

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