Class FileTypeDefinitionNotFoundException
Exception thrown by the IFileTypeManager implementation when a required file type definition could not be located.
Inherited Members
Namespace: SdlSdl.FileTypeSupportFrameworkIntegrationApi
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 |
---|---|
bool |
Overrides
GetHashCode()
The hash code includes the file type definition id.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |