Search Results for

    Show / Hide Table of Contents

    Class TemporaryConversionException

    Use this exception to indicate that we have a temporary problem with the conversion process

    Inheritance
    System.Object
    System.Exception
    TemporaryConversionException
    ConversionLimitReachedException
    TemporaryProgressConversionException
    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.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Core.Common.Conversion
    Assembly: ImageVault.Core.dll
    Syntax
    public class TemporaryConversionException : Exception, ISerializable, _Exception
    Remarks

    Usage of this exception indicates that we can try the conversion process again after some time and the exception can provide TemporaryContent to use instead of the requested one. 2011-03-30 dan: Created

    Constructors

    TemporaryConversionException()

    Initializes a new instance of the TemporaryConversionException class.

    Declaration
    public TemporaryConversionException()

    TemporaryConversionException(String)

    Initializes a new instance of the TemporaryConversionException class with a specified error message.

    Declaration
    public TemporaryConversionException(string message)
    Parameters
    Type Name Description
    System.String message

    a message that describes the exception

    TemporaryConversionException(String, Exception)

    Initializes a new instance of the TemporaryConversionException class with a specified error message and a reference to the inner exception that is the cause of this exception.

    Declaration
    public TemporaryConversionException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    a message that describes the exception

    System.Exception innerException

    The exception that caused this exception

    TemporaryConversionException(String, Object[])

    Initializes a new instance of the TemporaryConversionException class with a specified formatted error message. ///

    Declaration
    public TemporaryConversionException(string format, params object[] args)
    Parameters
    Type Name Description
    System.String format

    A System.String containing zero or more format items.

    System.Object[] args

    An System.Object array containing zero or more objects to format.

    Properties

    RetryAfter

    The number of seconds to wait until retrying the operation

    Declaration
    public int RetryAfter { get; set; }
    Property Value
    Type Description
    System.Int32

    Default value is 5. A negative value will instruct the recipient to not retry after a specific amount of time

    TemporaryContent

    Get/Sets the TemporaryContent of the TemporaryConversionException

    Declaration
    public MediaContent TemporaryContent { get; set; }
    Property Value
    Type Description
    MediaContent

    Defines the temporary content to use instead of the real one

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    In This Article
    Back to top (c) Meriworks 2002-2022