Container.RecycleService<T>(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Recycles the instance of this service.
public:
generic <typename T>
void RecycleService(System::String ^ name);
public void RecycleService<T> (string name);
member this.RecycleService : string -> unit
Public Sub RecycleService(Of T) (name As String)
Type Parameters
- T
The type of the service to search for.
Parameters
- name
- String
The name of the service to search for.
Exceptions
The name
parameter is a null reference (Nothing in Visual Basic) or empty.