Search Results for

    Show / Hide Table of Contents

    Class UnsupportedLanguageException

    Thrown by the Language class if attempting to access the CultureInfo property on a system where the language is not supported.

    Inheritance
    System.Object
    System.Exception
    UnsupportedLanguageException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    Namespace: Sdl.Core.Globalization
    Assembly: Sdl.Core.Globalization.dll
    Syntax
    public class UnsupportedLanguageException : Exception, ISerializable, _Exception

    Constructors

    UnsupportedLanguageException()

    Default constructor, create an empty exception.

    Declaration
    public UnsupportedLanguageException()

    UnsupportedLanguageException(SerializationInfo, StreamingContext)

    Protected constructor used in serialization.

    Declaration
    protected UnsupportedLanguageException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    the serialization info

    System.Runtime.Serialization.StreamingContext context

    the streaming context

    UnsupportedLanguageException(String)

    Create an exception with a message text.

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

    the message to include

    UnsupportedLanguageException(String, Exception)

    Create an exception with a message text, wrapping an inner exception.

    Declaration
    public UnsupportedLanguageException(string message, Exception inner)
    Parameters
    Type Name Description
    System.String message

    the message to include

    System.Exception inner

    the inner exception

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception

    On this page

    • Constructors
      • UnsupportedLanguageException()
      • UnsupportedLanguageException(SerializationInfo, StreamingContext)
      • UnsupportedLanguageException(String)
      • UnsupportedLanguageException(String, Exception)
    • Implements
    Back to top Generated by DocFX