ProvideFileSystemProviderAttribute 类

定义

声明包提供文件系统提供程序的属性。 请参阅 IFileSystemProvider

public ref class ProvideFileSystemProviderAttribute sealed : Microsoft::VisualStudio::Shell::ServiceBroker::ProvideBrokeredServiceAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideFileSystemProviderAttribute : Microsoft.VisualStudio.Shell.ServiceBroker.ProvideBrokeredServiceAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideFileSystemProviderAttribute = class
    inherit ProvideBrokeredServiceAttribute
Public NotInheritable Class ProvideFileSystemProviderAttribute
Inherits ProvideBrokeredServiceAttribute
继承
属性

构造函数

ProvideFileSystemProviderAttribute(String, String)

初始化 ProvideFileSystemProviderAttribute 实例

ProvideFileSystemProviderAttribute(String, String, String)

初始化 ProvideFileSystemProviderAttribute 实例

字段

AllowGuestClientsRegValue

用于存储安全上下文的注册表值

(继承自 ProvideBrokeredServiceAttribute)
AudienceRegValue

用于表示服务范围的注册表值

(继承自 ProvideBrokeredServiceAttribute)
BrokeredServiceRegKey

BrokeredServices 的注册表项

(继承自 ProvideBrokeredServiceAttribute)
DefaultAudience

Audience默认值。

(继承自 ProvideBrokeredServiceAttribute)
SchemeRegValue
已过时。

用于存储 URI 方案的注册表值 (例如文件系统提供程序支持的“ftp”) 。 如果存在此注册表值,则服务被视为文件系统提供程序。

属性

AllowTransitiveGuestClients

获取或设置一个值,该值指示是否允许来宾客户端以可传递方式获取此服务。 默认情况下, false () ,仅允许所有者访问中转服务。 若要选择加入以允许来宾获取提供的服务,请将此项设置为 true。 通过将此项设置为 true 服务,现在全权负责正确使用 IAuthorizationService 来授权敏感操作。

(继承自 ProvideBrokeredServiceAttribute)
Audience

获取或设置一个值,该值指示应允许哪些客户端直接获取此服务。 受众可以按位 OR 组合在一起,以扩展允许获取此服务的客户端集。

(继承自 ProvideBrokeredServiceAttribute)
IsDisplayInfoProvider

获取或设置一个值,该值指示提供程序是否支持 IUriDisplayInfoProvider

IsRemoteProvider

获取或设置一个值,该值指示提供程序是否支持 IRemoteFileSystemProvider

Name

获取与 .) 相同的 Name服务名称 (

(继承自 ProvideBrokeredServiceAttribute)
Scheme

获取文件系统提供程序支持的方案

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)
UIContextGuid

获取或设置在可以调用提供程序时将处于活动状态的 UIContext。 如果对何时可以调用提供程序没有限制,则为 Empty

Version

获取或设置与 .) 相同的 Version (提供服务的版本

(继承自 ProvideBrokeredServiceAttribute)

方法

GetPackageGuid(RegistrationAttribute+RegistrationContext)

获取提供此服务的包的 GUID。

(继承自 ProvideBrokeredServiceAttribute)
GetPackageRegKeyPath(Guid)

获取相对于 VSPackage 的应用程序) 注册表根目录 (注册表路径。

(继承自 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

当外部注册工具(如 regpkg.exe)调用时,向给定上下文注册此 VSPackage。 有关详细信息,请参阅注册 VSPackage。

(继承自 ProvideBrokeredServiceAttribute)
SetRegistryValues(RegistrationAttribute+RegistrationContext, RegistrationAttribute+Key)

设置指定注册表项中的值。

(继承自 ProvideBrokeredServiceAttribute)
Unregister(RegistrationAttribute+RegistrationContext)

调用以便向给定的上下文撤消注册此属性。

(继承自 ProvideBrokeredServiceAttribute)

适用于