Class LicensingException
A licensing related exception. This usually indicates that a valid license is not available to use the Project Automation API.
Inherited Members
Namespace: SdlSdl.ProjectAutomationFileBased
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 |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
SerializationException | The class name is |
LicensingException(string)
Initializes a new instance of the LicensingException class.
Declaration
public LicensingException(string message)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|---|
string | message | The message. |
Exception | inner | The inner. |