Search Results for

    Show / Hide Table of Contents

    Class LicensingException

    A licensing related exception. This usually indicates that a valid license is not available to use the Project Automation API.

    Inheritance
    System.Object
    System.Exception
    LicensingException
    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: Sdl.ProjectAutomation.FileBased
    Assembly: Sdl.ProjectAutomation.FileBased.dll
    Syntax
    public class LicensingException : Exception, ISerializable, _Exception
    Remarks

    An SDL Trados Studio Professional license is required to use the Project Automation API.

    Constructors

    LicensingException()

    Initializes a new instance of the LicensingException class.

    Declaration
    public LicensingException()

    LicensingException(SerializationInfo, StreamingContext)

    Initializes a new instance of the LicensingException class.

    Declaration
    protected LicensingException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The info parameter is null.

    System.Runtime.Serialization.SerializationException

    The class name is null or System.Exception.HResult is zero (0).

    LicensingException(String)

    Initializes a new instance of the LicensingException class.

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

    The message.

    LicensingException(String, Exception)

    Initializes a new instance of the LicensingException class.

    Declaration
    public LicensingException(string message, Exception inner)
    Parameters
    Type Name Description
    System.String message

    The message.

    System.Exception inner

    The inner.

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception

    On this page

    • Constructors
      • LicensingException()
      • LicensingException(SerializationInfo, StreamingContext)
      • LicensingException(String)
      • LicensingException(String, Exception)
    • Implements
    Back to top Generated by DocFX