Table of Contents

Class MissingBunitAuthorizationException

Namespace
Bunit.TestDoubles
Assembly
bunit.dll

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

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

Constructors

MissingBunitAuthorizationException(string)

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

public MissingBunitAuthorizationException(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.