Partager via


ManagementService Class

There are no comments for ManagementService in the schema.

Inheritance Hierarchy

System.Object
  System.Data.Services.Client.DataServiceContext
    Microsoft.TeamFoundation.Framework.Server.AccessControl.ManagementService

Namespace:  Microsoft.TeamFoundation.Framework.Server.AccessControl
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Class ManagementService _
    Inherits DataServiceContext
public class ManagementService : DataServiceContext
public ref class ManagementService : public DataServiceContext
type ManagementService =  
    class 
        inherit DataServiceContext 
    end
public class ManagementService extends DataServiceContext

The ManagementService type exposes the following members.

Constructors

  Name Description
Public method ManagementService Initialize a new ManagementService object.

Top

Properties

  Name Description
Public property ApplyingChanges Gets a value that indicates whether the DataServiceContext is currently applying changes to tracked objects. (Inherited from DataServiceContext.)
Public property BaseUri Gets the absolute URI identifying the root of the target data service. (Inherited from DataServiceContext.)
Public property ClaimTypes There are no comments for ClaimTypes in the schema.
Public property ConditionalRules There are no comments for ConditionalRules in the schema.
Public property Credentials Gets or sets the authentication information that is used by each query created by using the DataServiceContext object. (Inherited from DataServiceContext.)
Public property DataNamespace Gets or sets the XML namespace for data items, not metadata items, of an Atom payload. (Inherited from DataServiceContext.)
Public property Delegations There are no comments for Delegations in the schema.
Public property Entities Gets a list of all the resources currently being tracked by the DataServiceContext. (Inherited from DataServiceContext.)
Public property IdentityProviderAddresses There are no comments for IdentityProviderAddresses in the schema.
Public property IdentityProviderClaimTypes There are no comments for IdentityProviderClaimTypes in the schema.
Public property IdentityProviderKeys There are no comments for IdentityProviderKeys in the schema.
Public property IdentityProviders There are no comments for IdentityProviders in the schema.
Public property IgnoreMissingProperties Gets or sets whether the properties read from the type must be mapped to properties on the client-side type. (Inherited from DataServiceContext.)
Public property IgnoreResourceNotFoundException Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service. (Inherited from DataServiceContext.)
Public property Issuers There are no comments for Issuers in the schema.
Public property Links Gets the collection of all associations or links currently being tracked by the DataServiceContext object. (Inherited from DataServiceContext.)
Public property MergeOption Gets or sets the synchronization option for receiving entities from a data service. (Inherited from DataServiceContext.)
Public property RelyingParties There are no comments for RelyingParties in the schema.
Public property RelyingPartyAddresses There are no comments for RelyingPartyAddresses in the schema.
Public property RelyingPartyIdentityProviders There are no comments for RelyingPartyIdentityProviders in the schema.
Public property RelyingPartyKeys There are no comments for RelyingPartyKeys in the schema.
Public property RelyingPartyRuleGroups There are no comments for RelyingPartyRuleGroups in the schema.
Public property ResolveName Gets or sets a function to override the default type resolution strategy used by the client library when you send entities to a data service. (Inherited from DataServiceContext.)
Public property ResolveType Gets or sets a function that is used to override the default type resolution option that is used by the client library when receiving entities from a data service. (Inherited from DataServiceContext.)
Public property RuleGroups There are no comments for RuleGroups in the schema.
Public property Rules There are no comments for Rules in the schema.
Public property SaveChangesDefaultOptions Gets or sets the SaveChangesOptions values that are used by the SaveChanges method. (Inherited from DataServiceContext.)
Public property ServiceIdentities There are no comments for ServiceIdentities in the schema.
Public property ServiceIdentityKeys There are no comments for ServiceIdentityKeys in the schema.
Public property ServiceKeys There are no comments for ServiceKeys in the schema.
Public property Timeout Gets or sets the time-out option that is used for the underlying HTTP request to the data service. (Inherited from DataServiceContext.)
Public property TypeScheme Gets or sets the URI used to indicate what type scheme is used by the service. (Inherited from DataServiceContext.)
Public property UsePostTunneling Gets or sets a Boolean value that indicates whether to use post tunneling. (Inherited from DataServiceContext.)

Top

Methods

  Name Description
Public method AddLink Adds the specified link to the set of objects the DataServiceContext is tracking. (Inherited from DataServiceContext.)
Public method AddObject Adds the specified object to the set of objects that the DataServiceContext is tracking. (Inherited from DataServiceContext.)
Public method AddRelatedObject Adds a related object to the context and creates the link that defines the relationship between the two objects in a single request. (Inherited from DataServiceContext.)
Public method AddToClaimTypes There are no comments for ClaimTypes in the schema.
Public method AddToConditionalRules There are no comments for ConditionalRules in the schema.
Public method AddToDelegations There are no comments for Delegations in the schema.
Public method AddToIdentityProviderAddresses There are no comments for IdentityProviderAddresses in the schema.
Public method AddToIdentityProviderClaimTypes There are no comments for IdentityProviderClaimTypes in the schema.
Public method AddToIdentityProviderKeys There are no comments for IdentityProviderKeys in the schema.
Public method AddToIdentityProviders There are no comments for IdentityProviders in the schema.
Public method AddToIssuers There are no comments for Issuers in the schema.
Public method AddToRelyingParties There are no comments for RelyingParties in the schema.
Public method AddToRelyingPartyAddresses There are no comments for RelyingPartyAddresses in the schema.
Public method AddToRelyingPartyIdentityProviders There are no comments for RelyingPartyIdentityProviders in the schema.
Public method AddToRelyingPartyKeys There are no comments for RelyingPartyKeys in the schema.
Public method AddToRelyingPartyRuleGroups There are no comments for RelyingPartyRuleGroups in the schema.
Public method AddToRuleGroups There are no comments for RuleGroups in the schema.
Public method AddToRules There are no comments for Rules in the schema.
Public method AddToServiceIdentities There are no comments for ServiceIdentities in the schema.
Public method AddToServiceIdentityKeys There are no comments for ServiceIdentityKeys in the schema.
Public method AddToServiceKeys There are no comments for ServiceKeys in the schema.
Public method AttachLink Notifies the DataServiceContext to start tracking the specified link that defines a relationship between entity objects. (Inherited from DataServiceContext.)
Public method AttachTo(String, Object) Notifies the DataServiceContext to start tracking the specified resource and supplies the location of the resource within the specified resource set. (Inherited from DataServiceContext.)
Public method AttachTo(String, Object, String) Notifies the DataServiceContext to start tracking the specified resource and supplies the location of the resource in the specified resource set. (Inherited from DataServiceContext.)
Public method BeginExecute<TElement>(Uri, AsyncCallback, Object) Asynchronously sends the request so that this call does not block processing while waiting for the results from the service. (Inherited from DataServiceContext.)
Public method BeginExecute<T>(DataServiceQueryContinuation<T>, AsyncCallback, Object) Asynchronously sends a request to the data service to retrieve the next page of data in a paged query result. (Inherited from DataServiceContext.)
Public method BeginExecuteBatch Asynchronously submits a group of queries as a batch to the data service. (Inherited from DataServiceContext.)
Public method BeginGetReadStream Asynchronously gets binary property data for the specified entity as a data stream along with the specified message headers. (Inherited from DataServiceContext.)
Public method BeginLoadProperty(Object, String, AsyncCallback, Object) Asynchronously loads the value of the specified property from the data service. (Inherited from DataServiceContext.)
Public method BeginLoadProperty(Object, String, Uri, AsyncCallback, Object) Asynchronously loads a page of related entities from the data service by using the supplied next link URI. (Inherited from DataServiceContext.)
Public method BeginLoadProperty(Object, String, DataServiceQueryContinuation, AsyncCallback, Object) Asynchronously loads the next page of related entities from the data service by using the supplied query continuation object. (Inherited from DataServiceContext.)
Public method BeginSaveChanges(AsyncCallback, Object) Asynchronously submits the pending changes to the data service collected by the DataServiceContext since the last time changes were saved. (Inherited from DataServiceContext.)
Public method BeginSaveChanges(SaveChangesOptions, AsyncCallback, Object) Asynchronously submits the pending changes to the data service collected by the DataServiceContext since the last time changes were saved. (Inherited from DataServiceContext.)
Public method CancelRequest Attempts to cancel the operation that is associated with the supplied IAsyncResult object. (Inherited from DataServiceContext.)
Public method CreateQuery<T> Creates a data service query for data of a specified generic type. (Inherited from DataServiceContext.)
Public method DeleteLink Changes the state of the link to deleted in the list of links being tracked by the DataServiceContext. (Inherited from DataServiceContext.)
Public method DeleteObject Changes the state of the specified object to be deleted in the DataServiceContext. (Inherited from DataServiceContext.)
Public method Detach Removes the entity from the list of entities that the DataServiceContext is tracking. (Inherited from DataServiceContext.)
Public method DetachLink Removes the specified link from the list of links being tracked by the DataServiceContext. (Inherited from DataServiceContext.)
Public method EndExecute<TElement> Called to complete the BeginExecute. (Inherited from DataServiceContext.)
Public method EndExecuteBatch Called to complete the BeginExecuteBatch. (Inherited from DataServiceContext.)
Public method EndGetReadStream Called to complete the asynchronous operation of retrieving a binary property as a stream. (Inherited from DataServiceContext.)
Public method EndLoadProperty Called to complete the BeginLoadProperty operation. (Inherited from DataServiceContext.)
Public method EndSaveChanges Called to complete the BeginSaveChanges operation. (Inherited from DataServiceContext.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Execute<TElement>(Uri) Sends a request to the data service to execute a specific URI. (Inherited from DataServiceContext.)
Public method Execute<T>(DataServiceQueryContinuation<T>) Sends a request to the data service to retrieve the next page of data in a paged query result. (Inherited from DataServiceContext.)
Public method ExecuteBatch Submits a group of queries as a batch to the data service. (Inherited from DataServiceContext.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEntityDescriptor Gets the EntityDescriptor for the supplied entity object. (Inherited from DataServiceContext.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLinkDescriptor Gets the LinkDescriptor for a specific link that defines the relationship between two entities. (Inherited from DataServiceContext.)
Public method GetMetadataUri Gets a URI of the location of .edmx metadata. (Inherited from DataServiceContext.)
Public method GetReadStream(Object) Gets binary property data for the specified entity as a data stream. (Inherited from DataServiceContext.)
Public method GetReadStream(Object, String) Gets binary property data for the specified entity as a data stream, with the specified Accept message header. (Inherited from DataServiceContext.)
Public method GetReadStream(Object, DataServiceRequestArgs) Gets binary property data for the specified entity as a data stream along with the specified message headers. (Inherited from DataServiceContext.)
Public method GetReadStreamUri Gets the URI that is used to return binary property data as a data stream. (Inherited from DataServiceContext.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LoadProperty(Object, String) Loads deferred content for a specified property from the data service. (Inherited from DataServiceContext.)
Public method LoadProperty(Object, String, Uri) Loads a page of related entities by using the supplied next link URI. (Inherited from DataServiceContext.)
Public method LoadProperty(Object, String, DataServiceQueryContinuation) Loads the next page of related entities from the data service by using the supplied query continuation object. (Inherited from DataServiceContext.)
Public method LoadProperty<T>(Object, String, DataServiceQueryContinuation<T>) Loads the next page of related entities from the data service by using the supplied generic query continuation object. (Inherited from DataServiceContext.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ResolveNameFromType Since the namespace configured for this service reference in Visual Studio differs from the one indicated in the server schema, use type-mappers to map between the two.
Protected method ResolveTypeFromName Since the namespace configured for this service reference in Visual Studio differs from the one indicated in the server schema, use type-mappers to map between the two.
Public method SaveChanges() Saves the changes that the DataServiceContext is tracking to storage. (Inherited from DataServiceContext.)
Public method SaveChanges(SaveChangesOptions) Saves the changes that the DataServiceContext is tracking to storage. (Inherited from DataServiceContext.)
Public method SetLink Notifies the DataServiceContext that a new link exists between the objects specified and that the link is represented by the property specified by the sourceProperty parameter. (Inherited from DataServiceContext.)
Public method SetSaveStream(Object, Stream, Boolean, DataServiceRequestArgs) Sets a new data stream as the binary property of an entity, with the specified settings in the request message. (Inherited from DataServiceContext.)
Public method SetSaveStream(Object, Stream, Boolean, String, String) Sets a new data stream as the binary property of an entity. The specified Content-Type and Slug headers are included in the request message. (Inherited from DataServiceContext.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetEntity<TEntity> Test retrieval of an entity being tracked by the DataServiceContext by reference to the URI of the entity. (Inherited from DataServiceContext.)
Public method TryGetUri Retrieves the canonical URI associated with the specified entity, if available. (Inherited from DataServiceContext.)
Public method UpdateObject Changes the state of the specified object in the DataServiceContext to Modified. (Inherited from DataServiceContext.)

Top

Events

  Name Description
Public event ReadingEntity Occurs after entity data has been completely read into the entity object. (Inherited from DataServiceContext.)
Public event SendingRequest Occurs when a new HttpWebRequest has been created. (Inherited from DataServiceContext.)
Public event WritingEntity Occurs after an entity has been fully serialized into XML in a request message. (Inherited from DataServiceContext.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server.AccessControl Namespace