ServicesPackage 类
继承层次结构
System.Object
Microsoft.VisualStudio.Shell.Package
Microsoft.VisualStudio.Services.Integration.ServicesPackage
命名空间: Microsoft.VisualStudio.Services.Integration
程序集: Microsoft.VisualStudio.Services.Integration(在 Microsoft.VisualStudio.Services.Integration.dll 中)
语法
声明
<GuidAttribute("0B93CCC5-BC52-40E9-91A3-7B8B58C4526B")> _
<ProvideServiceAttribute(GetType(ITeamFoundationConnectionManager))> _
<ProvideServiceAttribute(GetType(ITeamFoundationContextManager))> _
Public NotInheritable Class ServicesPackage _
Inherits Package
[GuidAttribute("0B93CCC5-BC52-40E9-91A3-7B8B58C4526B")]
[ProvideServiceAttribute(typeof(ITeamFoundationConnectionManager))]
[ProvideServiceAttribute(typeof(ITeamFoundationContextManager))]
public sealed class ServicesPackage : Package
ServicesPackage 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
ServicesPackage |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
ApplicationRegistryRoot | (继承自 Package。) |
![]() |
UserDataPath | (继承自 Package。) |
![]() |
UserLocalDataPath | (继承自 Package。) |
![]() |
UserRegistryRoot | (继承自 Package。) |
![]() |
Zombied | (继承自 Package。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
CreateInstance | (继承自 Package。) |
![]() |
CreateTool | (继承自 Package。) |
![]() |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
![]() |
FindToolWindow | (继承自 Package。) |
![]() |
FindWindowPane | (继承自 Package。) |
![]() |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) |
![]() |
GetOutputPane | (继承自 Package。) |
![]() |
GetProviderLocale | (继承自 Package。) |
![]() |
GetService<T>() | |
![]() |
GetService<T, S>() | |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
ShowOptionPage | (继承自 Package。) |
![]() |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
字段
名称 | 说明 | |
---|---|---|
![]() ![]() |
PackageGuid |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
IServiceContainer.AddService(Type, Object) | (继承自 Package。) |
![]() ![]() |
IServiceContainer.AddService(Type, ServiceCreatorCallback) | (继承自 Package。) |
![]() ![]() |
IServiceContainer.AddService(Type, Object, Boolean) | (继承自 Package。) |
![]() ![]() |
IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) | (继承自 Package。) |
![]() ![]() |
IVsPackage.Close | (继承自 Package。) |
![]() ![]() |
IVsToolWindowFactory.CreateToolWindow | (继承自 Package。) |
![]() ![]() |
IOleCommandTarget.Exec | (继承自 Package。) |
![]() ![]() |
IVsUserSettings.ExportSettings | (继承自 Package。) |
![]() ![]() |
IVsPackage.GetAutomationObject | (继承自 Package。) |
![]() ![]() |
IVsToolboxItemProvider.GetItemContent | (继承自 Package。) |
![]() ![]() |
IVsPackage.GetPropertyPage | (继承自 Package。) |
![]() ![]() |
IServiceProvider.GetService | (继承自 Package。) |
![]() ![]() |
IVsUserSettings.ImportSettings | (继承自 Package。) |
![]() ![]() |
IVsPersistSolutionOpts.LoadUserOptions | (继承自 Package。) |
![]() ![]() |
IVsUserSettingsMigration.MigrateSettings | (继承自 Package。) |
![]() ![]() |
IVsUserSettingsQuery.NeedExport | (继承自 Package。) |
![]() ![]() |
IVsPackage.QueryClose | (继承自 Package。) |
![]() ![]() |
IServiceProvider.QueryService | (继承自 Package。) |
![]() ![]() |
IOleCommandTarget.QueryStatus | (继承自 Package。) |
![]() ![]() |
IVsPersistSolutionOpts.ReadUserOptions | (继承自 Package。) |
![]() ![]() |
IServiceContainer.RemoveService(Type) | (继承自 Package。) |
![]() ![]() |
IServiceContainer.RemoveService(Type, Boolean) | (继承自 Package。) |
![]() ![]() |
IVsPackage.ResetDefaults | (继承自 Package。) |
![]() ![]() |
IVsPersistSolutionOpts.SaveUserOptions | (继承自 Package。) |
![]() ![]() |
IVsPackage.SetSite | (继承自 Package。) |
![]() ![]() |
IVsPersistSolutionOpts.WriteUserOptions | (继承自 Package。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。