Class OneOrMoreFilesNotSupportedException
Exception thrown by the IFileTypeManager implementation for operations that may involve multiple files if one or more of the files are not supported by any file type definition in the file type manager.
Inheritance
System.Object
System.Exception
OneOrMoreFilesNotSupportedException
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 OneOrMoreFilesNotSupportedException : FileTypeSupportException, ISerializable, _Exception
Remarks
The names of each file that is not supported and the corresponding error message can be retrieved from the list of FileNotSupportedException exceptions that are exposed through the NotSupportedFiles property.
Constructors
OneOrMoreFilesNotSupportedException()
Default constructor, creates an uninitialized exception
Declaration
public OneOrMoreFilesNotSupportedException()
OneOrMoreFilesNotSupportedException(SerializationInfo, StreamingContext)
Protected constructor used for serialization
Declaration
protected OneOrMoreFilesNotSupportedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
OneOrMoreFilesNotSupportedException(String, List<FileNotSupportedException>)
Creates with a message and a list of unsupported files.
Declaration
public OneOrMoreFilesNotSupportedException(string message, List<FileNotSupportedException> notSupportedFiles)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Collections.Generic.List<FileNotSupportedException> | notSupportedFiles |
Properties
NotSupportedFiles
List of individual exceptions for each file that is not supported
Declaration
public List<FileNotSupportedException> NotSupportedFiles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<FileNotSupportedException> |
Methods
Equals(Object)
Also compares the list of unsupported files.
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()
Return a hash code that includes the files that are not supported.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception