Class AspNetCoreErrorReportingExtensions (4.4.0)

public static class AspNetCoreErrorReportingExtensions

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

Inheritance

Object > AspNetCoreErrorReportingExtensions

Namespace

Google.Cloud.Diagnostics.AspNetCore

Assembly

Google.Cloud.Diagnostics.AspNetCore.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