This documentation is archived and is not being maintained.

DownloadHandler Class

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

public class DownloadHandler : VersionControlHttpHandler

The DownloadHandler type exposes the following members.

Protected propertyHandlerHttpContextThe HttpContextBase associated with this web service request. (Inherited from TeamFoundationHttpHandler.)
Public propertyIsReusableTeamFoundationHttpHandler's are not re-usable. (We want the the constructor above to get called on every request so that members like m_requestContext will be setup for the current request, not the first request we handled.) (Inherited from TeamFoundationHttpHandler.)
Protected propertyRequestContextThe RequestContext associated with this web service request. (Inherited from TeamFoundationHttpHandler.)

Protected methodEnterMethod (Inherited from VersionControlHttpHandler.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodExecute (Overrides VersionControlHttpHandler.Execute().)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodHandleExceptionThis basic WebService ExceptionHandler captures the exception and records it in the request Context for future logging. Services may choose to over-ride this method, perform some actions based on the exception, changing the exception, eating it or just letting it pass. (Inherited from TeamFoundationHttpHandler.)
Protected methodLeaveMethod (Inherited from VersionControlHttpHandler.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodProcessRequest (Inherited from VersionControlHttpHandler.)
Protected methodSetMethodNameSets the method name (does NOT call EnterMethod.) This is meant to be called with the same instance of methodInformation, but without the parameters so that the method is correctly logged in the activity log rather than just its URL. (Inherited from TeamFoundationHttpHandler.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

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