Class LicensingException
A licensing related exception. This usually indicates that a valid license is not available to use the Project Automation API.
Inheritance
Implements
Inherited Members
Namespace: Sdl.ProjectAutomation.FileBased
Assembly: Sdl.ProjectAutomation.FileBased.dll
Syntax
public class LicensingException : Exception, ISerializable, _Exception
Remarks
A 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 |
System.Runtime.Serialization.SerializationException | The class name is |
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. |