WorkflowRuntime.GetAllServices 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.
Overloads
GetAllServices(Type) |
Retrieves all the services that are added to the workflow run-time engine that implement or derive from the specified Type. |
GetAllServices<T>() |
Retrieves all the services that are added to the workflow run-time engine that implement or derive from the specified generic type. |
GetAllServices(Type)
Retrieves all the services that are added to the workflow run-time engine that implement or derive from the specified Type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<System::Object ^> ^ GetAllServices(Type ^ serviceType);
public System.Collections.ObjectModel.ReadOnlyCollection<object> GetAllServices(Type serviceType);
member this.GetAllServices : Type -> System.Collections.ObjectModel.ReadOnlyCollection<obj>
Public Function GetAllServices (serviceType As Type) As ReadOnlyCollection(Of Object)
Parameters
Returns
Services that implement or derive from the specified Type.
Exceptions
serviceType
is a null reference (Nothing
in Visual Basic).
The WorkflowRuntime is disposed.
Remarks
An empty ReadOnlyCollection<T> indicates that no services that implement or derive from the specified Type have been added to the workflow run-time engine.
Applies to
GetAllServices<T>()
Retrieves all the services that are added to the workflow run-time engine that implement or derive from the specified generic type.
public:
generic <typename T>
System::Collections::ObjectModel::ReadOnlyCollection<T> ^ GetAllServices();
public System.Collections.ObjectModel.ReadOnlyCollection<T> GetAllServices<T>();
member this.GetAllServices : unit -> System.Collections.ObjectModel.ReadOnlyCollection<'T>
Public Function GetAllServices(Of T) () As ReadOnlyCollection(Of T)
Type Parameters
- T
The service type.
Returns
Services that implement or derive from the specified generic type.
Exceptions
The WorkflowRuntime is disposed.
Remarks
An empty ReadOnlyCollection<T> indicates that no services have been added to the workflow run-time engine that implement or derive from the specified generic type.