ManagementService 类
不 ManagementService 的注释在模式。
继承层次结构
System.Object
System.Data.Services.Client.DataServiceContext
Microsoft.TeamFoundation.Framework.Server.AccessControl.ManagementService
命名空间: Microsoft.TeamFoundation.Framework.Server.AccessControl
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Public Class ManagementService _
Inherits DataServiceContext
public class ManagementService : DataServiceContext
ManagementService 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ManagementService | 初始化新的 ManagementService 对象。 |
页首
属性
名称 | 说明 | |
---|---|---|
ApplyingChanges | 获取一个值,该值指示 DataServiceContext 当前是否将更改应用于所跟踪的对象。 (继承自 DataServiceContext。) | |
BaseUri | 获取标识目标数据服务的根的绝对 URI。 (继承自 DataServiceContext。) | |
ClaimTypes | 不 ClaimTypes 的注释在模式。 | |
ConditionalRules | 不 ConditionalRules 的注释在模式。 | |
Credentials | 获取或设置身份验证信息,通过使用 DataServiceContext 对象创建的每个查询将使用这些信息。 (继承自 DataServiceContext。) | |
DataNamespace | 获取或设置 Atom 负载的数据项(而不是元数据项)的 XML 命名空间。 (继承自 DataServiceContext。) | |
Delegations | 未委托的注释该模式。 | |
Entities | 获取 DataServiceContext 当前跟踪的所有资源的列表。 (继承自 DataServiceContext。) | |
IdentityProviderAddresses | 不 IdentityProviderAddresses 的注释在模式。 | |
IdentityProviderClaimTypes | 不 IdentityProviderClaimTypes 的注释在模式。 | |
IdentityProviderKeys | 不 IdentityProviderKeys 的注释在模式。 | |
IdentityProviders | 不 IdentityProviders 的注释在模式。 | |
IgnoreMissingProperties | 获取或设置一个值,该值指示是否必须将从类型中读取的属性映射到客户端类型的属性。 (继承自 DataServiceContext。) | |
IgnoreResourceNotFoundException | 获取或设置在数据服务返回 404 错误(未找到资源)时是否引发异常。 (继承自 DataServiceContext。) | |
Issuers | 没有颁发者的注释在模式。 | |
Links | 获取 DataServiceContext 对象当前跟踪的所有关联或链接的集合。 (继承自 DataServiceContext。) | |
MergeOption | 获取或设置用于从数据服务接收实体的同步选项。 (继承自 DataServiceContext。) | |
RelyingParties | 不 RelyingParties 的注释在模式。 | |
RelyingPartyAddresses | 不 RelyingPartyAddresses 的注释在模式。 | |
RelyingPartyIdentityProviders | 不 RelyingPartyIdentityProviders 的注释在模式。 | |
RelyingPartyKeys | 不 RelyingPartyKeys 的注释在模式。 | |
RelyingPartyRuleGroups | 不 RelyingPartyRuleGroups 的注释在模式。 | |
ResolveName | 获取或设置一个函数,该函数用于重写客户端库在您将实体发送到数据服务时使用的默认类型解析策略。 (继承自 DataServiceContext。) | |
ResolveType | 获取或设置一个函数,用于重写客户端库在从数据服务接收实体时使用的默认类型解析选项。 (继承自 DataServiceContext。) | |
RuleGroups | 不 RuleGroups 的注释在模式。 | |
Rules | 没有规则的注释在模式。 | |
SaveChangesDefaultOptions | 获取或设置由 SaveChanges 方法使用的 SaveChangesOptions 值。 (继承自 DataServiceContext。) | |
ServiceIdentities | 不 ServiceIdentities 的注释在模式。 | |
ServiceIdentityKeys | 不 ServiceIdentityKeys 的注释在模式。 | |
ServiceKeys | 不 ServiceKeys 的注释在模式。 | |
Timeout | 获取或设置用于对数据服务的基础 HTTP 请求的超时选项(以秒为单位)。 (继承自 DataServiceContext。) | |
TypeScheme | 获取或设置用于指示服务所使用类型方案的 URI。 (继承自 DataServiceContext。) | |
UsePostTunneling | 获取或设置一个布尔值,该值指示是否使用发布隧道。 (继承自 DataServiceContext。) |
页首
方法
页首
事件
名称 | 说明 | |
---|---|---|
ReadingEntity | 在将实体数据完全读入实体对象后发生。 (继承自 DataServiceContext。) | |
SendingRequest | 在创建了新 HttpWebRequest 时发生。 (继承自 DataServiceContext。) | |
WritingEntity | 在请求消息中将实体完全序列化为 XML 后发生。 (继承自 DataServiceContext。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.TeamFoundation.Framework.Server.AccessControl 命名空间