Class SecurityException
Inheritance
System.Object
System.Exception
SecurityException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
Namespace: MediaBrowser.Controller.Net
Assembly: MediaBrowser.Controller.dll
Syntax
public sealed class SecurityException : Exception, ISerializable
Constructors
SecurityException(User, String)
Declaration
public SecurityException(User user, string feature)
Parameters
Type | Name | Description |
---|---|---|
User | user | |
System.String | feature |
SecurityException(String, SecurityExceptionType)
Declaration
public SecurityException(string message, SecurityExceptionType exceptionType = SecurityExceptionType.Generic)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
SecurityExceptionType | exceptionType |
SecurityException(String, String)
Declaration
public SecurityException(string message, string localizedUserMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.String | localizedUserMessage |
SecurityException(String, String, SecurityExceptionType)
Declaration
public SecurityException(string message, string localizedUserMessage, SecurityExceptionType exceptionType)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.String | localizedUserMessage | |
SecurityExceptionType | exceptionType |
Properties
LocalizedUserMessage
Declaration
public string LocalizedUserMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SecurityExceptionFeature
Declaration
public string SecurityExceptionFeature { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SecurityExceptionType
Declaration
public SecurityExceptionType SecurityExceptionType { get; set; }
Property Value
Type | Description |
---|---|
SecurityExceptionType |
Implements
System.Runtime.Serialization.ISerializable