Partager via


CatalogResource Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.CatalogResource

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Internal)> _
Public Class CatalogResource
[ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Internal)]
public class CatalogResource
[ClassVisibilityAttribute(ClientVisibility::Public, ClientVisibility::Internal)]
public ref class CatalogResource
[<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Internal)>]
type CatalogResource =  class end
public class CatalogResource

The CatalogResource type exposes the following members.

Constructors

  Name Description
Public method CatalogResource() Creates empty CatalogResource.
Public method CatalogResource(CatalogResourceType, String)

Top

Properties

  Name Description
Public property CatalogServiceReferences Container to pass the service references over the web service in.
Public property ChangeType Expresses the change that has occured on this item.
Public property ChangeTypeValue Expresses change type over the web service.
Public property Description User defined description for the resource.
Public property DisplayName This is a user defined display name for the resource.
Public property Identifier This uniquely identifies a resource within the system.
Public property MatchedQuery Used when reading from the database and when sending results over the web service. This is used to distinguish between a resource that is returned because it matched query parameters, i.e. it was explicitly requested or if it was included because a it is referenced by a node that is a dependency.
Public property NodeReferencePaths The paths of the nodes that reference this resource.
Public property NodeReferences The catalog nodes that are referenced.
Public property Properties Returns the set of properties that exist on this resource.
Public property PropertyPairs Container to pass the property values over the web service in.
Public property ResourceType The resource type for this resource.
Public property ResourceTypeIdentifier The identifier for the resource type.
Public property ServiceReferences Returns the set of service definitions associated with this resource. If a service definition has been deleted that is referenced by a catalog resource then the key will have an entry that has a value of null.
Public property TempCorrelationId Allows us to correlate resources that are being created over the web service call.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
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 GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.Server.Core Namespace