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。)

页首

方法

  名称 说明
公共方法 AddLink 将指定链接添加到 DataServiceContext 所跟踪的对象的集合。 (继承自 DataServiceContext。)
公共方法 AddObject 将指定对象添加到 DataServiceContext 所跟踪的对象的集合。 (继承自 DataServiceContext。)
公共方法 AddRelatedObject 将相关对象添加到上下文,并创建定义单个请求中的两个对象之间的关系的链接。 (继承自 DataServiceContext。)
公共方法 AddToClaimTypes 不 ClaimTypes 的注释在模式。
公共方法 AddToConditionalRules 不 ConditionalRules 的注释在模式。
公共方法 AddToDelegations 未委托的注释该模式。
公共方法 AddToIdentityProviderAddresses 不 IdentityProviderAddresses 的注释在模式。
公共方法 AddToIdentityProviderClaimTypes 不 IdentityProviderClaimTypes 的注释在模式。
公共方法 AddToIdentityProviderKeys 不 IdentityProviderKeys 的注释在模式。
公共方法 AddToIdentityProviders 不 IdentityProviders 的注释在模式。
公共方法 AddToIssuers 没有颁发者的注释在模式。
公共方法 AddToRelyingParties 不 RelyingParties 的注释在模式。
公共方法 AddToRelyingPartyAddresses 不 RelyingPartyAddresses 的注释在模式。
公共方法 AddToRelyingPartyIdentityProviders 不 RelyingPartyIdentityProviders 的注释在模式。
公共方法 AddToRelyingPartyKeys 不 RelyingPartyKeys 的注释在模式。
公共方法 AddToRelyingPartyRuleGroups 不 RelyingPartyRuleGroups 的注释在模式。
公共方法 AddToRuleGroups 不 RuleGroups 的注释在模式。
公共方法 AddToRules 没有规则的注释在模式。
公共方法 AddToServiceIdentities 不 ServiceIdentities 的注释在模式。
公共方法 AddToServiceIdentityKeys 不 ServiceIdentityKeys 的注释在模式。
公共方法 AddToServiceKeys 不 ServiceKeys 的注释在模式。
公共方法 AttachLink 通知 DataServiceContext 开始跟踪定义实体对象之间关系的指定链接。 (继承自 DataServiceContext。)
公共方法 AttachTo(String, Object) 通知 DataServiceContext 开始跟踪指定资源,并提供资源在指定资源集内的位置。 (继承自 DataServiceContext。)
公共方法 AttachTo(String, Object, String) 通知 DataServiceContext 开始跟踪指定资源,并提供资源在指定资源集中的位置。 (继承自 DataServiceContext。)
公共方法 BeginExecute<TElement>(Uri, AsyncCallback, Object) 以异步方式发送请求,以使此调用不会在等待服务返回结果时阻止处理。 (继承自 DataServiceContext。)
公共方法 BeginExecute<T>(DataServiceQueryContinuation<T>, AsyncCallback, Object) 向数据服务异步发送检索分页查询结果中下一页数据的请求。 (继承自 DataServiceContext。)
公共方法 BeginExecuteBatch 以批处理方式将一组查询异步提交到数据服务。 (继承自 DataServiceContext。)
公共方法 BeginGetReadStream 异步获取数据流形式的指定实体的二进制属性数据以及指定的消息标头。 (继承自 DataServiceContext。)
公共方法 BeginLoadProperty(Object, String, AsyncCallback, Object) 从数据服务中异步加载指定属性的值。 (继承自 DataServiceContext。)
公共方法 BeginLoadProperty(Object, String, Uri, AsyncCallback, Object) 使用提供的下一个链接 URI 从数据服务中异步加载相关实体页。 (继承自 DataServiceContext。)
公共方法 BeginLoadProperty(Object, String, DataServiceQueryContinuation, AsyncCallback, Object) 使用提供的查询延续对象从数据服务中异步加载下一页相关实体。 (继承自 DataServiceContext。)
公共方法 BeginSaveChanges(AsyncCallback, Object) 异步提交由 DataServiceContext 自上次保存更改之后收集的数据服务的挂起更改。 (继承自 DataServiceContext。)
公共方法 BeginSaveChanges(SaveChangesOptions, AsyncCallback, Object) 异步提交由 DataServiceContext 自上次保存更改之后收集的数据服务的挂起更改。 (继承自 DataServiceContext。)
公共方法 CancelRequest 尝试取消与所提供的 IAsyncResult 对象关联的操作。 (继承自 DataServiceContext。)
公共方法 CreateQuery<T> 为指定泛型类型的数据创建数据服务查询。 (继承自 DataServiceContext。)
公共方法 DeleteLink DataServiceContext 所跟踪链接的列表中,将链接的状态更改为已删除。 (继承自 DataServiceContext。)
公共方法 DeleteObject DataServiceContext 中,将指定对象的状态更改为已删除。 (继承自 DataServiceContext。)
公共方法 Detach DataServiceContext 所跟踪实体的列表中移除该实体。 (继承自 DataServiceContext。)
公共方法 DetachLink DataServiceContext 所跟踪链接的列表中移除指定的链接。 (继承自 DataServiceContext。)
公共方法 EndExecute<TElement> 进行调用以完成 BeginExecute。 (继承自 DataServiceContext。)
公共方法 EndExecuteBatch 进行调用以完成 BeginExecuteBatch。 (继承自 DataServiceContext。)
公共方法 EndGetReadStream 进行调用以完成以流形式检索二进制属性的异步操作。 (继承自 DataServiceContext。)
公共方法 EndLoadProperty 进行调用以完成 BeginLoadProperty 操作。 (继承自 DataServiceContext。)
公共方法 EndSaveChanges 进行调用以完成 BeginSaveChanges 操作。 (继承自 DataServiceContext。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 Execute<TElement>(Uri) 向数据服务发送执行特定 URI 的请求。 (继承自 DataServiceContext。)
公共方法 Execute<T>(DataServiceQueryContinuation<T>) 向数据服务发送检索分页查询结果中下一页数据的请求。 (继承自 DataServiceContext。)
公共方法 ExecuteBatch 以批处理方式将一组查询提交到数据服务。 (继承自 DataServiceContext。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetEntityDescriptor 获取所提供的实体对象的 EntityDescriptor。 (继承自 DataServiceContext。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetLinkDescriptor 获取特定链接的 LinkDescriptor,此链接定义两个实体之间的关系。 (继承自 DataServiceContext。)
公共方法 GetMetadataUri 获取 .edmx 元数据位置的 URI。 (继承自 DataServiceContext。)
公共方法 GetReadStream(Object) 获取数据流形式的指定实体的二进制属性数据。 (继承自 DataServiceContext。)
公共方法 GetReadStream(Object, String) 获取数据流形式的指定实体的二进制属性数据以及指定的 Accept 消息标头。 (继承自 DataServiceContext。)
公共方法 GetReadStream(Object, DataServiceRequestArgs) 获取数据流形式的指定实体的二进制属性数据以及指定的消息标头。 (继承自 DataServiceContext。)
公共方法 GetReadStreamUri 获取用于以数据流形式返回二进制属性数据的 URI。 (继承自 DataServiceContext。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 LoadProperty(Object, String) 从数据服务中加载指定属性的延迟内容。 (继承自 DataServiceContext。)
公共方法 LoadProperty(Object, String, Uri) 使用提供的下一个链接 URI 加载相关实体页。 (继承自 DataServiceContext。)
公共方法 LoadProperty(Object, String, DataServiceQueryContinuation) 使用提供的查询延续对象从数据服务中加载下一页相关实体。 (继承自 DataServiceContext。)
公共方法 LoadProperty<T>(Object, String, DataServiceQueryContinuation<T>) 使用提供的通用查询延续对象从数据服务中加载下一页相关实体。 (继承自 DataServiceContext。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 ResolveNameFromType 因为为 Visual Studio 的此服务引用配置的命名空间与服务器模式指示的列表不同,请使用类型制图员二者之间的映射。
受保护的方法 ResolveTypeFromName 因为为 Visual Studio 的此服务引用配置的命名空间与服务器模式指示的列表不同,请使用类型制图员二者之间的映射。
公共方法 SaveChanges() DataServiceContext 跟踪的更改保存到存储区。 (继承自 DataServiceContext。)
公共方法 SaveChanges(SaveChangesOptions) DataServiceContext 跟踪的更改保存到存储区。 (继承自 DataServiceContext。)
公共方法 SetLink 通知 DataServiceContext 指定的对象之间存在新链接,并且该链接由 sourceProperty 参数所指定的属性表示。 (继承自 DataServiceContext。)
公共方法 SetSaveStream(Object, Stream, Boolean, DataServiceRequestArgs) 使用请求消息中的指定设置,将新的数据流设置为实体的二进制属性。 (继承自 DataServiceContext。)
公共方法 SetSaveStream(Object, Stream, Boolean, String, String) 将新的数据流设置为实体的二进制属性。指定的 Content-Type 和 Slug 标头包含在请求消息中。 (继承自 DataServiceContext。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
公共方法 TryGetEntity<TEntity> 通过引用实体的 URI,测试 DataServiceContext 所跟踪实体的检索。 (继承自 DataServiceContext。)
公共方法 TryGetUri 检索与指定实体关联的规范化 URI(如果有)。 (继承自 DataServiceContext。)
公共方法 UpdateObject DataServiceContext 中指定对象的状态更改为 Modified。 (继承自 DataServiceContext。)

页首

事件

  名称 说明
公共事件 ReadingEntity 在将实体数据完全读入实体对象后发生。 (继承自 DataServiceContext。)
公共事件 SendingRequest 在创建了新 HttpWebRequest 时发生。 (继承自 DataServiceContext。)
公共事件 WritingEntity 在请求消息中将实体完全序列化为 XML 后发生。 (继承自 DataServiceContext。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.TeamFoundation.Framework.Server.AccessControl 命名空间