RequiresServiceAttribute.ServiceType Property
Gets the service type the class requires.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public ReadOnly Property ServiceType As Type
Get
public Type ServiceType { get; }
public:
property Type^ ServiceType {
Type^ get ();
}
member ServiceType : Type
function get ServiceType () : Type
Property Value
Type: System.Type
A Type that indicates the service type the class requires.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RequiresServiceAttribute Class
Microsoft.Windows.Design Namespace