Class OptionException | DOTS Runtime | 0.31.0-preview.24
docs.unity3d.com
    Show / Hide Table of Contents

    Class OptionException

    Inheritance
    Object
    Exception
    OptionException
    Namespace: Mono.Options
    Syntax
    [Serializable]
    public class OptionException : Exception, ISerializable, _Exception

    Constructors

    OptionException()

    Declaration
    public OptionException()

    OptionException(SerializationInfo, StreamingContext)

    Declaration
    protected OptionException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context

    OptionException(String, String)

    Declaration
    public OptionException(string message, string optionName)
    Parameters
    Type Name Description
    String message
    String optionName

    OptionException(String, String, Exception)

    Declaration
    public OptionException(string message, string optionName, Exception innerException)
    Parameters
    Type Name Description
    String message
    String optionName
    Exception innerException

    Properties

    OptionName

    Declaration
    public string OptionName { get; }
    Property Value
    Type Description
    String

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    [SecurityPermission(SecurityAction.LinkDemand, SerializationFormatter = true)]
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context
    Overrides
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023