Class NotLicensedException
Thrown when there's no license to Execute protected code.
Namespace: Sp.Agent.Execution
Assembly: Sp.Agent.dll
Constructors
NotLicensedException(SerializationInfo, StreamingContext)
Initializes a new instance of the NotLicensedException class.
Declaration
protected NotLicensedException(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 null or System.Exception.HResult is zero (0). |
NotLicensedException(String)
For internal use only.
Declaration
public NotLicensedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Remarks
Subject to unlimited change without notice even in minor version changes.
NotLicensedException(String, Exception)
For internal use only.
Declaration
public NotLicensedException(string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | exception |
Remarks
Subject to unlimited change without notice even in minor version changes.
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception