Class FileTypeDefinitionNotFoundException
Exception thrown by the IFileTypeManager implementation when a required file type definition could not be located.
Implements
Inherited Members
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()
Remarks
The id of the required file type definition can be accessed through the FileTypeDefinitionId property.
FileTypeDefinitionNotFoundException(SerializationInfo, StreamingContext)
Protected constructor used in serialization.
Declaration
protected FileTypeDefinitionNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
Remarks
The id of the required file type definition can be accessed through the FileTypeDefinitionId property.
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 |
Remarks
The id of the required file type definition can be accessed through the FileTypeDefinitionId property.
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 |
Remarks
The id of the required file type definition can be accessed through the FileTypeDefinitionId property.
Properties
FileTypeDefinitionId
Id of the file type definition that could not be located
Declaration
public FileTypeDefinitionId FileTypeDefinitionId { get; set; }
Property Value
Type | Description |
---|---|
FileTypeDefinitionId |
Remarks
The id of the required file type definition can be accessed through the FileTypeDefinitionId property.
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
Remarks
The id of the required file type definition can be accessed through the FileTypeDefinitionId property.
GetHashCode()
The hash code includes the file type definition id.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
Remarks
The id of the required file type definition can be accessed through the FileTypeDefinitionId property.