ExportWorkspaceServiceAttribute Class
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.
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
Constructors
ExportWorkspaceServiceAttribute(Type, String) |
Declares a IWorkspaceService implementation for inclusion in a MEF-based workspace. |
Properties
Layer |
The layer that the service is specified for; ServiceLayer.Default, etc. |
ServiceType |
The assembly qualified name of the service's type. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.