ProvideFileSystemProviderAttribute Class

Definition

An attribute that declares that a package provides a file system provider. See 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
Inheritance
Attributes

Constructors

ProvideFileSystemProviderAttribute(String, String)

Initializes a ProvideFileSystemProviderAttribute instance

ProvideFileSystemProviderAttribute(String, String, String)

Initializes a ProvideFileSystemProviderAttribute instance

Fields

AllowGuestClientsRegValue

The registry value to store the security context

(Inherited from ProvideBrokeredServiceAttribute)
AudienceRegValue

The registry value to denote the scope of a service

(Inherited from ProvideBrokeredServiceAttribute)
BrokeredServiceRegKey

The registry key for BrokeredServices

(Inherited from ProvideBrokeredServiceAttribute)
DefaultAudience

The default value for Audience.

(Inherited from ProvideBrokeredServiceAttribute)
SchemeRegValue
Obsolete.

The registry value to store the URI scheme (e.g. "ftp") supported by the file system provider. If this registry value is present, then the service is considered a file system provider.

Properties

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.

(Inherited from ProvideBrokeredServiceAttribute)
Audience

Gets or sets a value indicating which clients should be allowed to directly acquire this service. Audiences may be bitwise-OR'd together to expand the set of clients that are allowed to acquire this service.

(Inherited from ProvideBrokeredServiceAttribute)
IsDisplayInfoProvider

Gets or sets a value that indicates whether the provider supports IUriDisplayInfoProvider.

IsRemoteProvider

Gets or sets a value that indicates whether the provider supports IRemoteFileSystemProvider.

Name

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

(Inherited from ProvideBrokeredServiceAttribute)
Scheme

Gets the scheme supported by the file system provider

TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)
UIContextGuid

Gets or sets the UIContext that will be active when the provider can be invoked. If there are no restrictions on when the provider can be invoked, this is Empty.

Version

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

(Inherited from ProvideBrokeredServiceAttribute)

Methods

GetPackageGuid(RegistrationAttribute+RegistrationContext)

Gets a GUID for the package that proffers this service.

(Inherited from ProvideBrokeredServiceAttribute)
GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registers this VSPackage with a given context, when called by an external registration tool such as regpkg.exe. For more information, see Registering VSPackages.

(Inherited from ProvideBrokeredServiceAttribute)
SetRegistryValues(RegistrationAttribute+RegistrationContext, RegistrationAttribute+Key)

Sets the values in the specified registry key.

(Inherited from ProvideBrokeredServiceAttribute)
Unregister(RegistrationAttribute+RegistrationContext)

Called to unregister this attribute with the given context.

(Inherited from ProvideBrokeredServiceAttribute)

Applies to