Container.RemoveService(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.]
Removes the service with the specified name.
public:
virtual void RemoveService(System::String ^ name);
public void RemoveService (string name);
abstract member RemoveService : string -> unit
override this.RemoveService : string -> unit
Public Sub RemoveService (name As String)
Parameters
- name
- String
The name of the service to remove.
Implements
Exceptions
The name
parameter is a null reference (Nothing in Visual Basic) or empty.