SecurityNamespaceDescription 建構函式
初始化 SecurityNamespaceDescription 類別的新執行個體。
命名空間: Microsoft.TeamFoundation.Framework.Client
組件: Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)
語法
'宣告
Public Sub New ( _
namespaceId As Guid, _
name As String, _
displayName As String, _
databaseCategory As String, _
separatorValue As Char, _
elementLength As Integer, _
structure As SecurityNamespaceStructure, _
writePermission As Integer, _
readPermission As Integer, _
actions As IEnumerable(Of ActionDefinition) _
)
public SecurityNamespaceDescription(
Guid namespaceId,
string name,
string displayName,
string databaseCategory,
char separatorValue,
int elementLength,
SecurityNamespaceStructure structure,
int writePermission,
int readPermission,
IEnumerable<ActionDefinition> actions
)
參數
- namespaceId
類型:System.Guid
SecurityNamespaceGuid 。
- name
類型:System.String
未當地語系化名稱為 SecurityNamespace。
- displayName
類型:System.String
當地語系化顯示名稱的 SecurityNamespace。
- databaseCategory
類型:System.String
描述的資料庫類別應該儲存位置的這個 SecurityNamespace 相關聯的安全性資訊。
- separatorValue
類型:System.Char
指定分隔安全性權杖的字元。對於不是分隔符號指定 null。
- elementLength
類型:System.Int32
此命名空間中指定字元長度安全性權杖。如果安全性權杖字元長度變更,請指定 -1。
- structure
類型:Microsoft.TeamFoundation.Framework.Common.SecurityNamespaceStructure
這 SecurityNamespace 用來組織其語彙基元的結構。
- writePermission
類型:System.Int32
使用者需要用來修改這個 SecurityNamespace 的安全性資料的使用權限位元。
- readPermission
類型:System.Int32
使用者需要用來讀取這 SecurityNamespace 的安全性資料的使用權限位元。
- actions
類型:System.Collections.Generic.IEnumerable<ActionDefinition>
這 SecurityNamespace 對安全執行動作的清單。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。