Class ValidationException
Class representing a list of validation errors for descendants of EditableObjectBase or EditableOptionsBase.
Inheritance
System.Object
    System.Exception
    ValidationException
  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.Source
    
    
      System.Exception.StackTrace
    
    
      System.Exception.TargetSite
    
    
      System.Exception.SerializeObjectState
    
  Namespace: Emby.Web.GenericEdit.Validation
Assembly: Emby.Web.GenericEdit.dll
Syntax
public class ValidationException : Exception, ISerializableConstructors
ValidationException(ValidationResult)
Initializes a new instance of the System.Exception class.
Declaration
public ValidationException(ValidationResult result)Parameters
| Type | Name | Description | 
|---|---|---|
| ValidationResult | result | 
Properties
Message
Gets a message that describes the current exception.
Declaration
public override string Message { get; }Property Value
| Type | Description | 
|---|---|
| System.String | The error message that explains the reason for the exception, or an empty string (""). | 
Overrides
System.Exception.Message
  
  
  
  Result
Declaration
public ValidationResult Result { get; }Property Value
| Type | Description | 
|---|---|
| ValidationResult | 
Implements
      System.Runtime.Serialization.ISerializable