Show / Hide Table of Contents

    Class InvalidShardArgumentsException

    This error is raised upon an attempt to create an Empty ShardKey or ShardChild, but the IDs are not zero. Essentially, any shard object with a DataOrigin of '0' (Empty) must also have zeroed IDs (be equal to ShardKey.Empty or ShardChild.Empty).

    Inheritance
    System.Object
    System.Exception
    InvalidShardArgumentsException
    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
    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: ArgentSea
    Assembly: ArgentSea.dll
    Syntax
    public sealed class InvalidShardArgumentsException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    InvalidShardArgumentsException()

    Initializes a new instance of the InvalidShardArgumentsException class with no error message.

    Declaration
    public InvalidShardArgumentsException()
    | Improve this Doc View Source

    InvalidShardArgumentsException(String)

    Initializes a new instance of the InvalidShardArgumentsException class with a specified error message.

    Declaration
    public InvalidShardArgumentsException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    | Improve this Doc View Source

    InvalidShardArgumentsException(String, Exception)

    Initializes a new instance of the InvalidShardArgumentsException class.

    Declaration
    public InvalidShardArgumentsException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    System.Exception innerException

    The exception that is the cause of the current exception.

    Implements

    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX