Search Results for

    Show / Hide Table of Contents

    Class ImproperDistributionException

    Exception thrown when a distribution is improper and its expectations need to be computed.

    Inheritance
    Object
    Exception
    ImproperDistributionException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: Microsoft.ML.Probabilistic.Distributions
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    [Serializable]
    public class ImproperDistributionException : Exception, ISerializable

    Constructors

    ImproperDistributionException()

    Initializes a new instance of the ImproperDistributionException class.

    Declaration
    public ImproperDistributionException()

    ImproperDistributionException(Object)

    Create a new Improper Distribution exception

    Declaration
    public ImproperDistributionException(object distribution)
    Parameters
    Type Name Description
    Object distribution

    ImproperDistributionException(SerializationInfo, StreamingContext)

    Initializes a new instance of the ImproperDistributionException class.

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

    The object that holds the serialized object data.

    StreamingContext context

    The contextual information about the source or destination.

    ImproperDistributionException(String, Exception)

    Initializes a new instance of the ImproperDistributionException class with a specified error message and a reference to the inner exception that is the cause of this exception.

    Declaration
    public ImproperDistributionException(string message, Exception inner)
    Parameters
    Type Name Description
    String message

    The error message that explains the reason for the exception.

    Exception inner

    The exception that is the cause of the current exception.

    Implements

    System.Runtime.Serialization.ISerializable
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.