Table of Contents

Class MissingFakeAuthorizationException

Namespace
Bunit.TestDoubles
Assembly
Bunit.Web.dll

Exception used to indicate that the fake authorization services are required by a test but provided in TestContext.Services.

public sealed class MissingFakeAuthorizationException : Exception, ISerializable
Inheritance
MissingFakeAuthorizationException
Implements
Inherited Members
Extension Methods

Constructors

MissingFakeAuthorizationException(string)

Initializes a new instance of the MissingFakeAuthorizationException class with the arguments used in the invocation.

public MissingFakeAuthorizationException(string serviceName)

Parameters

serviceName string

The service being used.

Properties

ServiceName

Gets the invoking service name.

public string ServiceName { get; }

Property Value

string
.NET Foundation

Supported by the .NET Foundation.