ProvideFileSystemProviderAttribute Klasse

Definition

Ein Attribut, das deklariert, dass ein Paket einen Dateisystem Anbieter bereitstellt. Siehe 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
Vererbung
Attribute

Konstruktoren

ProvideFileSystemProviderAttribute(String, String)

Initialisiert eine- ProvideFileSystemProviderAttribute Instanz.

ProvideFileSystemProviderAttribute(String, String, String)

Initialisiert eine- ProvideFileSystemProviderAttribute Instanz.

Felder

AllowGuestClientsRegValue

The registry value to store the security context

(Geerbt von ProvideBrokeredServiceAttribute)
AudienceRegValue

The registry value to denote the scope of a service

(Geerbt von ProvideBrokeredServiceAttribute)
BrokeredServiceRegKey

The registry key for BrokeredServices

(Geerbt von ProvideBrokeredServiceAttribute)
DefaultAudience

The default value for Audience.

(Geerbt von ProvideBrokeredServiceAttribute)
SchemeRegValue
Veraltet.

Der Registrierungs Wert zum Speichern des URI-Schemas (z. b. "FTP"), das vom Dateisystem Anbieter unterstützt wird. Wenn dieser Registrierungs Wert vorhanden ist, wird der Dienst als Dateisystem Anbieter betrachtet.

Eigenschaften

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.

(Geerbt von ProvideBrokeredServiceAttribute)
Audience (Geerbt von ProvideBrokeredServiceAttribute)
IsDisplayInfoProvider

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob der Anbieter unterstützt IUriDisplayInfoProvider .

Name

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

(Geerbt von ProvideBrokeredServiceAttribute)
Scheme

Ruft das Schema ab, das vom Dateisystem Anbieter unterstützt wird.

TypeId

Ruft die aktuelle Instanz dieses Attributs ab.

(Geerbt von RegistrationAttribute)
UIContextGuid

Ruft den UIContext ab, der aktiv ist, wenn der Anbieter aufgerufen werden kann, oder legt diesen fest. Wenn es keine Einschränkungen gibt, wann der Anbieter aufgerufen werden kann, ist dies Empty .

Version

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

(Geerbt von ProvideBrokeredServiceAttribute)

Methoden

GetPackageGuid(RegistrationAttribute+RegistrationContext)

Gets a GUID for the package that proffers this service.

(Geerbt von ProvideBrokeredServiceAttribute)
GetPackageRegKeyPath(Guid)

Ruft den Registrierungspfad (relativ zum Registrierungsstamm der Anwendung) des VSPackages ab.

(Geerbt von RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registriert dieses VSPackage bei einem angegebenen Kontext, wenn der Aufruf über ein externes Registrierungstool wie regpkg.exe erfolgt. Weitere Informationen finden Sie unter Registrieren von VSPackages.

(Geerbt von ProvideBrokeredServiceAttribute)
SetRegistryValues(RegistrationAttribute+RegistrationContext, RegistrationAttribute+Key)

Sets the values in the specified registry key.

(Geerbt von ProvideBrokeredServiceAttribute)
Unregister(RegistrationAttribute+RegistrationContext)

Wird aufgerufen, um die Registrierung dieses Attributs für den angegebenen Kontext aufzuheben.

(Geerbt von ProvideBrokeredServiceAttribute)

Gilt für