Show / Hide Table of Contents

Class InjectException

Exception related to injecting service instances.

Inheritance
System.Object
InjectException
Namespace: Celerik.NetCore.Services
Assembly: cs.temp.dll.dll
Syntax
public class InjectException : Exception

Constructors

InjectException()

Initializes a new InjectException.

Declaration
public InjectException()

InjectException(SerializationInfo, StreamingContext)

Initializes a new InjectException.

Declaration
protected InjectException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

StreamingContext context

The StreamingContext that contains contextual information about the source or destination.

InjectException(String)

Initializes a new InjectException.

Declaration
public InjectException(string message)
Parameters
Type Name Description
System.String message

The message that describes the error.

InjectException(String, Exception)

Initializes a new InjectException.

Declaration
public InjectException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The message that describes the error.

Exception innerException

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

In This Article
Back to top Generated by DocFX