ServiceManager.Contains Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a Boolean value that indicates whether the service manager contains a service of the given type.

Namespace:  System.Activities.Design
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Public MustOverride Function Contains ( _
    serviceType As Type _
) As Boolean
'Usage
Dim instance As ServiceManager
Dim serviceType As Type
Dim returnValue As Boolean

returnValue = instance.Contains(serviceType)
public abstract bool Contains(
    Type serviceType
)
public:
virtual bool Contains(
    Type^ serviceType
) abstract
public abstract function Contains(
    serviceType : Type
) : boolean
abstract Contains : 
        serviceType:Type -> bool 

Parameters

  • serviceType
    Type: System.Type
    The type of service to check.

Return Value

Type: System.Boolean
true if a service of type serviceType has been published; otherwise, false.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

ServiceManager Class

ServiceManager Members

System.Activities.Design Namespace