Class ActivationServerException
Indicates that there has been a problem encountered by the license server in the processing of an activation request.
The reason can be inspected via the Code
property.
Namespace: Sp.Agent.Activation
Assembly: Sp.Agent.dll
Constructors
ActivationServerException(Exception, String)
Constructs a default ActivationServerException.
Declaration
public ActivationServerException(Exception innerException, string code)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The inner exception. |
System.String | code | The underlying error code. |
ActivationServerException(SerializationInfo, StreamingContext)
Declaration
protected ActivationServerException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
ActivationServerException(String, Exception, String)
Constructs an ActivationServerException with the specified message explaining the details of the condition.
Declaration
protected ActivationServerException(string message, Exception innerException, string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
System.Exception | innerException | The inner exception. |
System.String | code | The underlying error code. |
Properties
Code
The reason given by the activation server for the rejection of the activation request.
Declaration
public string Code { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception