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

取得或設定值,指出應該允許哪些用戶端直接取得此服務。 物件可能會位或一起展開允許取得此服務的用戶端集。

(繼承來源 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。 如需詳細資訊,請參閱註冊 VSPackages。

(繼承來源 ProvideBrokeredServiceAttribute)
SetRegistryValues(RegistrationAttribute+RegistrationContext, RegistrationAttribute+Key)

設定指定登錄機碼中的值。

(繼承來源 ProvideBrokeredServiceAttribute)
Unregister(RegistrationAttribute+RegistrationContext)

呼叫以取消註冊這個具有指定內容的屬性。

(繼承來源 ProvideBrokeredServiceAttribute)

適用於