C# Class Castle.MicroKernel.ComponentNotFoundException

Inheritance: ComponentResolutionException
显示文件 Open project: castleproject/Windsor

Public Methods

Method Description
ComponentNotFoundException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the ComponentNotFoundException class.

ComponentNotFoundException ( Type service ) : System

Initializes a new instance of the ComponentNotFoundException class.

ComponentNotFoundException ( Type service, string message ) : System

Initializes a new instance of the ComponentNotFoundException class.

ComponentNotFoundException ( string name, Type service, int countOfHandlersForTheService ) : System
ComponentNotFoundException ( string name, string message ) : System

Initializes a new instance of the ComponentNotFoundException class.

Private Methods

Method Description
BuildMessage ( string name, Type service, int countOfHandlersForTheService ) : string

Method Details

ComponentNotFoundException() public method

Initializes a new instance of the ComponentNotFoundException class.
public ComponentNotFoundException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The object that holds the serialized object data.
context System.Runtime.Serialization.StreamingContext The contextual information about the source or destination.
return System

ComponentNotFoundException() public method

Initializes a new instance of the ComponentNotFoundException class.
public ComponentNotFoundException ( Type service ) : System
service System.Type The service.
return System

ComponentNotFoundException() public method

Initializes a new instance of the ComponentNotFoundException class.
public ComponentNotFoundException ( Type service, string message ) : System
service System.Type The service.
message string Exception message.
return System

ComponentNotFoundException() public method

public ComponentNotFoundException ( string name, Type service, int countOfHandlersForTheService ) : System
name string
service System.Type
countOfHandlersForTheService int
return System

ComponentNotFoundException() public method

Initializes a new instance of the ComponentNotFoundException class.
public ComponentNotFoundException ( string name, string message ) : System
name string The name.
message string Exception message.
return System