共用方式為


TeamExplorerPageViewModelBase 類別

繼承階層架構

System.Object
  Microsoft.TeamFoundation.MVVM.NotifyPropertyChangedDispatcherObject
    Microsoft.TeamFoundation.MVVM.ViewModelBase
      Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.TeamExplorerPageViewModelBase

命名空間:  Microsoft.TeamFoundation.Controls.WPF.TeamExplorer
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Class TeamExplorerPageViewModelBase _
    Inherits ViewModelBase _
    Implements ITeamExplorerPage, IDisposable, INotifyPropertyChanged
public class TeamExplorerPageViewModelBase : ViewModelBase, 
    ITeamExplorerPage, IDisposable, INotifyPropertyChanged

TeamExplorerPageViewModelBase 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 TeamExplorerPageViewModelBase

回頁首

屬性

  名稱 說明
公用屬性 Dispatcher 發送器與這個物件。 (繼承自 NotifyPropertyChangedDispatcherObject)。
公用屬性 Id
公用屬性 IsBusy
公用屬性 MessageBoxService (繼承自 ViewModelBase)。
公用屬性 PageContent
公用屬性 ParentViewModel (繼承自 ViewModelBase)。
受保護的屬性 ServiceProvider
公用屬性 Title
公用屬性 UIHostService (繼承自 ViewModelBase)。
公用屬性 WindowDisplayService (繼承自 ViewModelBase)。

回頁首

方法

  名稱 說明
受保護的方法 AddDependencySource(String, INotifyCollectionChanged) (繼承自 NotifyPropertyChangedDispatcherObject)。
受保護的方法 AddDependencySource(String, INotifyPropertyChanged) (繼承自 NotifyPropertyChangedDispatcherObject)。
公用方法 Cancel
公用方法 CheckAccess (繼承自 NotifyPropertyChangedDispatcherObject)。
公用方法 CheckAccessBeginExecute 執行中的執行緒上執行指定之動作與物件相關聯的發送器。 這會叫用的發送器 BeginInvoke 即可,不會等候動作完成--會立即傳回。 (繼承自 NotifyPropertyChangedDispatcherObject)。
公用方法 CheckAccessExecute(Action) 執行中的執行緒上執行指定之動作與物件相關聯的發送器。 (繼承自 NotifyPropertyChangedDispatcherObject)。
公用方法 CheckAccessExecute<TResult>(Func<TResult>) (繼承自 NotifyPropertyChangedDispatcherObject)。
公用方法 ClearNotifications
公用方法 Dispose
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
受保護的方法 GetDependencySourceName(INotifyCollectionChanged) (繼承自 NotifyPropertyChangedDispatcherObject)。
受保護的方法 GetDependencySourceName(INotifyPropertyChanged) (繼承自 NotifyPropertyChangedDispatcherObject)。
公用方法 GetExtensibilityService
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 GetWaitCursor (繼承自 ViewModelBase)。
公用方法 HideNotification
公用方法 Initialize
公用方法 IsNotificationVisible
公用方法 Loaded
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
受保護的方法 RaisePropertyChanged (繼承自 ViewModelBase)。
受保護的方法 ReceiveWeakEvent (繼承自 NotifyPropertyChangedDispatcherObject)。
公用方法 Refresh
公用方法 RegisterService (繼承自 ViewModelBase)。
公用方法 RegisterServices (繼承自 ViewModelBase)。
受保護的方法 RemoveDependencySource(String, INotifyCollectionChanged) (繼承自 NotifyPropertyChangedDispatcherObject)。
受保護的方法 RemoveDependencySource(String, INotifyPropertyChanged) (繼承自 NotifyPropertyChangedDispatcherObject)。
公用方法 ResolveService<TService> 解決這項服務。 (繼承自 ViewModelBase)。
公用方法 SaveContext
受保護的方法 SetAndRaisePropertyChanged(Boolean%, Boolean, String) Helper 方法屬性值並引發 PropertyChanged 事件,如果值已變更。 System.Boolean 型別以提供最佳化實作。 (繼承自 NotifyPropertyChangedDispatcherObject)。
受保護的方法 SetAndRaisePropertyChanged(Int32%, Int32, String) Helper 方法屬性值並引發 PropertyChanged 事件,如果值已變更。 System.Int32 型別以提供最佳化實作。 (繼承自 NotifyPropertyChangedDispatcherObject)。
受保護的方法 SetAndRaisePropertyChanged(String%, String, String) Helper 方法屬性值並引發 PropertyChanged 事件,如果值已變更。 字串型別的最佳化實作。 (繼承自 NotifyPropertyChangedDispatcherObject)。
受保護的方法 SetAndRaisePropertyChanged<T>(T%, T, String) Helper 方法屬性值並引發 PropertyChanged 事件,如果值已變更。 (繼承自 NotifyPropertyChangedDispatcherObject)。
公用方法 ShowError
公用方法 ShowException
公用方法 ShowMessage
公用方法 ShowNotification
公用方法 ShowWarning
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。
公用方法 TryResolveService(Type) (繼承自 ViewModelBase)。
公用方法 TryResolveService<TService>() (繼承自 ViewModelBase)。
公用方法 UnRegisterService (繼承自 ViewModelBase)。
公用方法 UnRegisterServices (繼承自 ViewModelBase)。
受保護的方法 VerifyAccess 強制呼叫的執行緒可以存取這個物件的。 (繼承自 NotifyPropertyChangedDispatcherObject)。

回頁首

事件

  名稱 說明
公用事件 PropertyChanged 當屬性值變更時發生。 (繼承自 NotifyPropertyChangedDispatcherObject)。

回頁首

擴充方法

  名稱 說明
公用擴充方法 Close 在 頁面。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetFocusedSection 取得這個頁面的焦點的部分。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetId 取得這個頁面的 ID。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetProperty 取得網頁的屬性。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetSection 取得這個 Web 網頁的區段具有指定 ID 的。. (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetSections 取得這個頁面的一部分。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetService<T> 取得要求的服務。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 RefreshPageAndSections 重新整理頁面和它的一部分。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 SetProperty 設定網頁屬性。 (以 ITeamExplorerPageExtensions 定義。)

回頁首

明確介面實作

  名稱 說明
明確介面實作私用方法 IWeakEventListener.ReceiveWeakEvent (繼承自 NotifyPropertyChangedDispatcherObject)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.TeamFoundation.Controls.WPF.TeamExplorer 命名空間