Search Results for

    Show / Hide Table of Contents

    Class FileTypeDefinitionNotFoundException

    Exception thrown by the IFileTypeManager implementation when a required file type definition could not be located.

    Inheritance
    System.Object
    System.Exception
    FileTypeSupportException
    FileTypeDefinitionNotFoundException
    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)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.MemberwiseClone()
    Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public class FileTypeDefinitionNotFoundException : FileTypeSupportException, ISerializable, _Exception
    Remarks

    The id of the required file type definition can be accessed through the FileTypeDefinitionId property.

    Constructors

    FileTypeDefinitionNotFoundException()

    Default constructor - creates an uninitialized object.

    Declaration
    public FileTypeDefinitionNotFoundException()

    FileTypeDefinitionNotFoundException(SerializationInfo, StreamingContext)

    Protected constructor used in serialization.

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

    FileTypeDefinitionNotFoundException(String, FileTypeDefinitionId)

    Construct from message and file type definition id.

    Declaration
    public FileTypeDefinitionNotFoundException(string message, FileTypeDefinitionId id)
    Parameters
    Type Name Description
    System.String message
    FileTypeDefinitionId id

    FileTypeDefinitionNotFoundException(String, FileTypeDefinitionId, Exception)

    Construct from inner exception and file type definition id.

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

    Properties

    FileTypeDefinitionId

    Id of the file type definition that could not be located

    Declaration
    public FileTypeDefinitionId FileTypeDefinitionId { get; set; }
    Property Value
    Type Description
    FileTypeDefinitionId

    Methods

    Equals(Object)

    Also compares the file type definition id.

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

    GetHashCode()

    The hash code includes the file type definition id.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Implements

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

    On this page

    • Constructors
      • FileTypeDefinitionNotFoundException()
      • FileTypeDefinitionNotFoundException(SerializationInfo, StreamingContext)
      • FileTypeDefinitionNotFoundException(String, FileTypeDefinitionId)
      • FileTypeDefinitionNotFoundException(String, FileTypeDefinitionId, Exception)
    • Properties
      • FileTypeDefinitionId
    • Methods
      • Equals(Object)
      • GetHashCode()
    • Implements
    Back to top Generated by DocFX