PluginNotTrustedException Class
Definition
- Namespace
- Bodu.Globalization.Calendar.Plugins
- Assembly
- Bodu.Globalization.Calendar.Plugins.dll
- Package
- Bodu.Globalization.Calendar.Plugins 1.0.0
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
messagestringThe 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
PluginNotTrustedException(string, string, string?)
Initializes a new instance of the PluginNotTrustedException class.
public PluginNotTrustedException(string message, string assemblyName, string? reason)
Parameters
Properties
AssemblyName
Gets the name of the rejected assembly.
public string? AssemblyName { get; }
Property Value
Reason
Gets the reason the assembly was rejected.
public string? Reason { get; }
Property Value
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |