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

The registry value to store the security context

(Унаследовано от ProvideBrokeredServiceAttribute)
AudienceRegValue

The registry value to denote the scope of a service

(Унаследовано от ProvideBrokeredServiceAttribute)
BrokeredServiceRegKey

The registry key for BrokeredServices

(Унаследовано от ProvideBrokeredServiceAttribute)
DefaultAudience

The default value for Audience.

(Унаследовано от ProvideBrokeredServiceAttribute)
SchemeRegValue
Является устаревшей.

Значение реестра для хранения схемы URI (например, "FTP"), поддерживаемое поставщиком файловой системы. Если это значение реестра имеется, то служба считается поставщиком файловой системы.

Свойства

AllowTransitiveGuestClients

Gets or sets a value indicating whether guest clients are allowed to transitively acquire this service. By default (false), only owners are allowed to access a brokered service. To opt-in to allowing guests to acquire the proffered service, set this to true. By setting this to true the service now has sole responsibility in correctly using IAuthorizationService to authorize sensitive operations.

(Унаследовано от ProvideBrokeredServiceAttribute)
Audience (Унаследовано от ProvideBrokeredServiceAttribute)
IsDisplayInfoProvider

Возвращает или задает значение, указывающее, поддерживает ли поставщик IUriDisplayInfoProvider .

Name

Gets the name of the service (same as Name.)

(Унаследовано от ProvideBrokeredServiceAttribute)
Scheme

Возвращает схему, поддерживаемую поставщиком файловой системы.

TypeId

Получает текущий экземпляр данного атрибута.

(Унаследовано от RegistrationAttribute)
UIContextGuid

Возвращает или задает UIContext, который будет активным при вызове поставщика. Если нет ограничений на время вызова поставщика, это может быть Empty .

Version

Gets or sets the version of the proffered service (same as Version.)

(Унаследовано от ProvideBrokeredServiceAttribute)

Методы

GetPackageGuid(RegistrationAttribute+RegistrationContext)

Gets a GUID for the package that proffers this service.

(Унаследовано от ProvideBrokeredServiceAttribute)
GetPackageRegKeyPath(Guid)

Получает путь в реестре (относительно корня реестра приложения) VSPackage.

(Унаследовано от RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Регистрирует данный VSPackage с заданным контекстом при вызове внешним средством регистрации, например regpkg.exe. Дополнительные сведения см. в разделе Регистрация пакетов VSPackage.

(Унаследовано от ProvideBrokeredServiceAttribute)
SetRegistryValues(RegistrationAttribute+RegistrationContext, RegistrationAttribute+Key)

Sets the values in the specified registry key.

(Унаследовано от ProvideBrokeredServiceAttribute)
Unregister(RegistrationAttribute+RegistrationContext)

Вызывается для отмены регистрации атрибута с данным контекстом.

(Унаследовано от ProvideBrokeredServiceAttribute)

Применяется к