다음을 통해 공유


ExportWorkspaceServiceAttribute Class

Definition

Use this attribute to declare a IWorkspaceService implementation for inclusion in a MEF-based workspace.

public ref class ExportWorkspaceServiceAttribute : System::Composition::ExportAttribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Composition.MetadataAttribute]
public class ExportWorkspaceServiceAttribute : System.Composition.ExportAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Composition.MetadataAttribute>]
type ExportWorkspaceServiceAttribute = class
    inherit ExportAttribute
Public Class ExportWorkspaceServiceAttribute
Inherits ExportAttribute
Inheritance
ExportWorkspaceServiceAttribute
Attributes

Remarks

Declares a IWorkspaceService implementation for inclusion in a MEF-based workspace.

Constructors

ExportWorkspaceServiceAttribute(Type, String)

Use this attribute to declare a IWorkspaceService implementation for inclusion in a MEF-based workspace.

Properties

Layer

The layer that the service is specified for. Specify a value from ServiceLayer.

ServiceType

The assembly qualified name of the service's type.

Applies to