Class ActivationTransmissionException
Indicates that there has been a problem in the tranmission of an Activation Request to an Activation Server Endpoint. The InnerException
will contain salient details of the problem.
It is possible to configure multiple attempts to be made via IProductActivationTransmissionCommenceConfigurationPhase.
Namespace: Sp.Agent.Activation
Assembly: Sp.Agent.dll
Constructors
ActivationTransmissionException(SerializationInfo, StreamingContext)
Serialization constructor.
Declaration
protected ActivationTransmissionException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
ActivationTransmissionException(String, Exception)
Standard constructor.
Declaration
public ActivationTransmissionException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | An explaining message. See Create(Exception, Int32, Uri, String) for a helper. |
System.Exception | innerException | The root cause. |
Methods
Create(Exception, Int32, Uri, String)
Creates a ActivationTransmissionException
.
Declaration
public static ActivationTransmissionException Create(Exception inner, int previousAttempts, Uri destination, string serviceDescription)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | inner | The inner exception. |
System.Int32 | previousAttempts | The numver of attempts that have taken place prior to this one. |
System.Uri | destination | The endpoint one was attempting to communicate with. |
System.String | serviceDescription | Description of the service being communicated with. |
Returns
Type | Description |
---|---|
ActivationTransmissionException |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception