VsContextChangingEventArgs 建構函式
命名空間: Microsoft.VisualStudio.Services.Integration
組件: Microsoft.VisualStudio.Services.Integration (在 Microsoft.VisualStudio.Services.Integration.dll 中)
語法
'宣告
Public Sub New ( _
newContext As ITeamFoundationContext, _
contextChange As ActiveContextChange, _
contextChangeReason As ActiveContextChangeReason _
)
public VsContextChangingEventArgs(
ITeamFoundationContext newContext,
ActiveContextChange contextChange,
ActiveContextChangeReason contextChangeReason
)
參數
- newContext
類型:Microsoft.TeamFoundation.Client.ITeamFoundationContext
- contextChange
類型:Microsoft.TeamFoundation.Client.ActiveContextChange
- contextChangeReason
類型:Microsoft.TeamFoundation.Client.ActiveContextChangeReason
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。