共用方式為


RequireServiceAttribute 類別

定義

public ref class RequireServiceAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class RequireServiceAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type RequireServiceAttribute = class
    inherit Attribute
Public NotInheritable Class RequireServiceAttribute
Inherits Attribute
繼承
RequireServiceAttribute
屬性

建構函式

RequireServiceAttribute(Type[])

屬性

ServiceTypes

適用於