Google.Cloud.Diagnostics.AspNetCore3 - Class AspNetCoreErrorReportingExtensions (5.3.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

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
Name Description
services IServiceCollection
options Google.Cloud.Diagnostics.Common.ErrorReportingServiceOptions
Returns
Type Description
IServiceCollection