Table of Contents

PluginNotTrustedException Class

Definition

Namespace
Bodu.Globalization.Calendar.Plugins
Assembly
Bodu.Globalization.Calendar.Plugins.dll
Package
Bodu.Globalization.Calendar.Plugins 1.0.0
Source
PluginNotTrustedException.cs

The exception thrown when a trust policy rejects a candidate plugin assembly.

public sealed class PluginNotTrustedException : NotableDatePluginException, ISerializable
Inheritance
PluginNotTrustedException
Implements
Inherited Members
Extension Methods

Constructors

PluginNotTrustedException()

Initializes a new instance of the PluginNotTrustedException class.

public PluginNotTrustedException()

PluginNotTrustedException(string)

Initializes a new instance of the PluginNotTrustedException class.

public PluginNotTrustedException(string message)

Parameters

message string

The message describing the rejection.

PluginNotTrustedException(string, Exception)

Initializes a new instance of the PluginNotTrustedException class with an inner exception.

public PluginNotTrustedException(string message, Exception innerException)

Parameters

message string

The message describing the rejection.

innerException Exception

The underlying cause.

PluginNotTrustedException(string, string, string?)

Initializes a new instance of the PluginNotTrustedException class.

public PluginNotTrustedException(string message, string assemblyName, string? reason)

Parameters

message string

The message describing the rejection.

assemblyName string

The name of the rejected assembly.

reason string

The reason the assembly was rejected, if supplied.

Properties

AssemblyName

Gets the name of the rejected assembly.

public string? AssemblyName { get; }

Property Value

string

The assembly name, or null when the exception was created without one.

Reason

Gets the reason the assembly was rejected.

public string? Reason { get; }

Property Value

string

The rejection reason, or null when none was supplied.

Applies to

ProductVersions
.NET8, 10