Class OptionException
Inheritance
System.Object
    System.Exception
    OptionException
  Implements
System.Runtime.Serialization.ISerializable
  Inherited Members
      System.Exception.GetBaseException()
    
    
      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
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Mars.Components.Starter
Assembly: Mars.Components.dll
Syntax
[Serializable]
public class OptionException : Exception, ISerializableConstructors
| Improve this Doc View SourceOptionException()
Declaration
public OptionException()OptionException(SerializationInfo, StreamingContext)
Declaration
protected OptionException(SerializationInfo info, StreamingContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context | 
OptionException(String, String, Exception)
Declaration
public OptionException(string message, string optionName, Exception innerException)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | |
| System.String | optionName | |
| System.Exception | innerException | 
OptionException(String, String)
Declaration
public OptionException(string message, string optionName)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | |
| System.String | optionName | 
Properties
| Improve this Doc View SourceOptionName
Declaration
public string OptionName { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
[SecurityPermission(SecurityAction.LinkDemand, SerializationFormatter = true)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context | 
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
  Implements
      System.Runtime.Serialization.ISerializable