Class UnsupportedCodepageException
Thrown by the Codepage class if attempting to access the Encoding property on a system that does not support this encoding.
Inheritance
System.Object
System.Exception
UnsupportedCodepageException
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 UnsupportedCodepageException : Exception, ISerializable, _Exception
Constructors
UnsupportedCodepageException()
Create an empty exception.
Declaration
public UnsupportedCodepageException()
UnsupportedCodepageException(SerializationInfo, StreamingContext)
Protected constructor used for serialization.
Declaration
protected UnsupportedCodepageException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | the serialization info |
System.Runtime.Serialization.StreamingContext | context | the streaming context |
UnsupportedCodepageException(String)
Create an exception with a message.
Declaration
public UnsupportedCodepageException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | the message to include in the exception |
UnsupportedCodepageException(String, Exception)
Create an exception that wraps another exception.
Declaration
public UnsupportedCodepageException(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