Class FileTypeDefinitionNotFoundException
Exception thrown by the IFileTypeManager implementation when a required file type definition could not be located.
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 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 |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
FileTypeDefinitionNotFoundException(String, FileTypeDefinitionId)
Construct from message and file type definition id.
Declaration
public FileTypeDefinitionNotFoundException(string message, FileTypeDefinitionId id)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|---|
String | message | |
FileTypeDefinitionId | id | |
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 |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
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 |
---|---|
Int32 |
Overrides
System.Object.GetHashCode()
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception