Table of Contents

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

serviceMoniker ServiceMoniker

The moniker of the service that failed to activate.

inner Exception

The 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

info SerializationInfo

Seralization info.

context StreamingContext

Serialization context.