| ServiceContainerUnregister Method (Type, String) |
Unregisters the service with the specified name.
Namespace: DigitalRune.ServiceLocationAssembly: DigitalRune.ServiceLocation (in DigitalRune.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.13596)
Syntax public void Unregister(
Type serviceType,
string key
)
Public Sub Unregister (
serviceType As Type,
key As String
)
public:
void Unregister(
Type^ serviceType,
String^ key
)
member Unregister :
serviceType : Type *
key : string -> unit
Parameters
- serviceType
- Type: SystemType
The type of service to be removed. - key
- Type: SystemString
The name the object was registered with. Can be or empty.
Exceptions See Also