Search Results for

    Show / Hide Table of Contents

    Class FileNotSupportedException

    Used in OneOrMoreFilesNotSupportedException to convey the details of a single file that was not supported by any installed file type when using one of the GetConverter... overloads in IFileTypeManager.

    Inheritance
    object
    Exception
    FileTypeSupportException
    FileNotSupportedException
    Implements
    ISerializable
    _Exception
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.MemberwiseClone()
    Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public class FileNotSupportedException : FileTypeSupportException, ISerializable, _Exception
    Remarks

    This exception is thrown and handled in the framework implementation itself, and should therefore not need to be handled explicitly in the application.

    Applications that use the IFileTypeManager for file conversion should handle the OneOrMoreFilesNotSupportedException, where the details for each unsupported file can be accessed from the NotSupportedFiles property.

    Constructors

    FileNotSupportedException()

    Default constructor

    Declaration
    public FileNotSupportedException()

    FileNotSupportedException(SerializationInfo, StreamingContext)

    For serialization

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

    FileNotSupportedException(string, string)

    Construction from a message

    Declaration
    public FileNotSupportedException(string message, string filePath)
    Parameters
    Type Name Description
    string message
    string filePath

    Full path to the unsupported file

    FileNotSupportedException(string, string, Exception)

    Construction from a message, file path, and an inner exception

    Declaration
    public FileNotSupportedException(string message, string filePath, Exception inner)
    Parameters
    Type Name Description
    string message
    string filePath

    Full path to the unsupported file

    Exception inner

    Properties

    FilePath

    Full path to the file that is not supported

    Declaration
    public string FilePath { get; set; }
    Property Value
    Type Description
    string

    Methods

    Equals(object)

    Also compares the file path.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    Returns a hash code that includes the file path.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Implements

    ISerializable
    _Exception
    In this article
    Back to top Generated by DocFX