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 派生クラスが System.ComponentModel.TypeDescriptor.GetAttributes(...) と連携できるように、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)

適用対象