Class ServiceActivationFailedException
- Namespace
- Microsoft.ServiceHub.Framework
- Assembly
- Microsoft.ServiceHub.Framework.dll
Used to indicate a failure in a IServiceBroker to activate a service that was found.
[Serializable]
public class ServiceActivationFailedException : ServiceCompositionException, ISerializable
- Inheritance
-
ServiceActivationFailedException
- Implements
- Inherited Members
Constructors
ServiceActivationFailedException(ServiceMoniker, Exception?)
Initializes a new instance of the ServiceActivationFailedException class.
public ServiceActivationFailedException(ServiceMoniker serviceMoniker, Exception? inner)
Parameters
serviceMonikerServiceMonikerThe moniker of the service that failed to activate.
innerExceptionThe exception thrown from the service during activation.
ServiceActivationFailedException(SerializationInfo, StreamingContext)
Initializes a new instance of the ServiceActivationFailedException class.
protected ServiceActivationFailedException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoSeralization info.
contextStreamingContextSerialization context.