ISecurityChangedEventHandler.RenameToken 方法
允許實作器覆寫,封鎖或接聽 RenameToken 呼叫。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Function RenameToken ( _
requestContext As TeamFoundationRequestContext, _
notificationType As NotificationType, _
existingToken As String, _
newToken As String, _
copy As Boolean _
) As Boolean
bool RenameToken(
TeamFoundationRequestContext requestContext,
NotificationType notificationType,
string existingToken,
string newToken,
bool copy
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
這個命令會要求內容與呼叫。
- notificationType
型別:Microsoft.TeamFoundation.Framework.Server.NotificationType
這是告知類型。
- existingToken
型別:System.String
要重新命名的語彙基元。
- newToken
型別:System.String
新名稱語彙基元。
- copy
型別:System.Boolean
如果為 true, ACL 會複製到新的位置將舊位置仍保持。
傳回值
型別:System.Boolean
為 True,如果 opertion 應該在這個告知來源的安全性命名空間會繼續進行。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。