TeamFoundationApplication Class

Inheritance Hierarchy

System.Object
  System.Web.HttpApplication
    Microsoft.TeamFoundation.Framework.Server.VisualStudioServicesApplication
      Microsoft.TeamFoundation.Server.Core.TeamFoundationApplication

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

Syntax

'Declaration
Public Class TeamFoundationApplication _
    Inherits VisualStudioServicesApplication
public class TeamFoundationApplication : VisualStudioServicesApplication
public ref class TeamFoundationApplication : public VisualStudioServicesApplication
type TeamFoundationApplication =  
    class 
        inherit VisualStudioServicesApplication 
    end
public class TeamFoundationApplication extends VisualStudioServicesApplication

The TeamFoundationApplication type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationApplication

Top

Properties

  Name Description
Public property Application Gets the current state of an application. (Inherited from HttpApplication.)
Public property Context Gets HTTP-specific information about the current request. (Inherited from HttpApplication.)
Protected property Events Gets the list of event handler delegates that process all application events. (Inherited from HttpApplication.)
Public property Modules Gets the collection of modules for the current application. (Inherited from HttpApplication.)
Public property Request Gets the intrinsic request object for the current request. (Inherited from HttpApplication.)
Public property RequestContext The request context is created for each request when the ASP.Net Application_BeginRequest call is made and is available throughout the processing of the request (Inherited from VisualStudioServicesApplication.)
Public property Response Gets the intrinsic response object for the current request. (Inherited from HttpApplication.)
Public property Server Gets the intrinsic server object for the current request. (Inherited from HttpApplication.)
Public property Session Gets the intrinsic session object that provides access to session data. (Inherited from HttpApplication.)
Public property Site Gets or sets a site interface for an IComponent implementation. (Inherited from HttpApplication.)
Public property User Gets the intrinsic user object for the current request. (Inherited from HttpApplication.)

Top

Methods

  Name Description
Public method AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler) Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler) Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler) Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler) Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnEndRequestAsync(BeginEventHandler, EndEventHandler) Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnLogRequestAsync(BeginEventHandler, EndEventHandler) Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnLogRequestAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler) Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler) Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler) Adds the specified PostAuthenticateRequest event to the collection of asynchronous PostAuthenticateRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler) Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PostAuthorizeRequest to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler) Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler) Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler) Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler) Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler) Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler) Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler) Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler) Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler) Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler) Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public method AddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object) Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Protected method Application_BeginRequest (Inherited from VisualStudioServicesApplication.)
Protected method Application_End Perform common application end handling (Inherited from VisualStudioServicesApplication.)
Protected method Application_EndRequest Post-request handling. The request completion is traced to ASP.NET and the Thread's culture is reset. (Inherited from VisualStudioServicesApplication.)
Protected method Application_Error Handle errors in the application. Exceptions are logged and reported through Watson. (Inherited from VisualStudioServicesApplication.)
Protected method Application_PostAuthenticateRequest (Inherited from VisualStudioServicesApplication.)
Protected method Application_PostAuthorizeRequest (Inherited from VisualStudioServicesApplication.)
Protected method Application_PreRequestHandlerExecute (Inherited from VisualStudioServicesApplication.)
Protected method Application_Start Perform common application start handling (Inherited from VisualStudioServicesApplication.)
Public method CompleteRequest Causes ASP.NET to bypass all events and filtering in the HTTP pipeline chain of execution and directly execute the EndRequest event. (Inherited from HttpApplication.)
Public method Dispose Disposes the HttpApplication instance. (Inherited from HttpApplication.)
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 GetOutputCacheProviderName Gets the name of the default output-cache provider that is configured for a Web site. (Inherited from HttpApplication.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetVaryByCustomString Provides an application-wide implementation of the VaryByCustom property. (Inherited from HttpApplication.)
Public method Init Executes custom initialization code after all event handler modules have been added. (Inherited from HttpApplication.)
Protected method IsLicenseValid Verify the server license is valid (Overrides VisualStudioServicesApplication.IsLicenseValid().)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnFirstRequest (Overrides VisualStudioServicesApplication.OnFirstRequest().)
Public method Stop IRegisteredObject.Stop This is called when ASP.Net is attempting to shutdown our application. (Inherited from VisualStudioServicesApplication.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event AcquireRequestState Occurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request. (Inherited from HttpApplication.)
Public event AuthenticateRequest Occurs when a security module has established the identity of the user. (Inherited from HttpApplication.)
Public event AuthorizeRequest Occurs when a security module has verified user authorization. (Inherited from HttpApplication.)
Public event BeginRequest Occurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request. (Inherited from HttpApplication.)
Public event Disposed Occurs when the application is disposed. (Inherited from HttpApplication.)
Public event EndRequest Occurs as the last event in the HTTP pipeline chain of execution when ASP.NET responds to a request. (Inherited from HttpApplication.)
Public event Error Occurs when an unhandled exception is thrown. (Inherited from HttpApplication.)
Public event LogRequest Occurs just before ASP.NET performs any logging for the current request. (Inherited from HttpApplication.)
Public event MapRequestHandler Infrastructure. Occurs when the handler is selected to respond to the request. (Inherited from HttpApplication.)
Public event OnFormatError An event which is fired prior to the application returning an error response. (Inherited from VisualStudioServicesApplication.)
Public event OnReportError An event which is fired prior to the application reporting an error to Watson. (Inherited from VisualStudioServicesApplication.)
Public event PostAcquireRequestState Occurs when the request state (for example, session state) that is associated with the current request has been obtained. (Inherited from HttpApplication.)
Public event PostAuthenticateRequest Occurs when a security module has established the identity of the user. (Inherited from HttpApplication.)
Public event PostAuthorizeRequest Occurs when the user for the current request has been authorized. (Inherited from HttpApplication.)
Public event PostLogRequest Occurs when ASP.NET has completed processing all the event handlers for the LogRequest event. (Inherited from HttpApplication.)
Public event PostMapRequestHandler Occurs when ASP.NET has mapped the current request to the appropriate event handler. (Inherited from HttpApplication.)
Public event PostReleaseRequestState Occurs when ASP.NET has completed executing all request event handlers and the request state data has been stored. (Inherited from HttpApplication.)
Public event PostRequestHandlerExecute Occurs when the ASP.NET event handler (for example, a page or an XML Web service) finishes execution. (Inherited from HttpApplication.)
Public event PostResolveRequestCache Occurs when ASP.NET bypasses execution of the current event handler and allows a caching module to serve a request from the cache. (Inherited from HttpApplication.)
Public event PostUpdateRequestCache Occurs when ASP.NET finishes updating caching modules and storing responses that are used to serve subsequent requests from the cache. (Inherited from HttpApplication.)
Public event PreRequestHandlerExecute Occurs just before ASP.NET starts executing an event handler (for example, a page or an XML Web service). (Inherited from HttpApplication.)
Public event PreSendRequestContent Occurs just before ASP.NET sends content to the client. (Inherited from HttpApplication.)
Public event PreSendRequestHeaders Occurs just before ASP.NET sends HTTP headers to the client. (Inherited from HttpApplication.)
Public event ReleaseRequestState Occurs after ASP.NET finishes executing all request event handlers. This event causes state modules to save the current state data. (Inherited from HttpApplication.)
Public event ResolveRequestCache Occurs when ASP.NET finishes an authorization event to let the caching modules serve requests from the cache, bypassing execution of the event handler (for example, a page or an XML Web service). (Inherited from HttpApplication.)
Public event UpdateRequestCache Occurs when ASP.NET finishes executing an event handler in order to let caching modules store responses that will be used to serve subsequent requests from the cache. (Inherited from HttpApplication.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IHttpAsyncHandler.BeginProcessRequest Initiates an asynchronous call to the HTTP event handler. (Inherited from HttpApplication.)
Explicit interface implemetationPrivate method IHttpAsyncHandler.EndProcessRequest Provides an asynchronous process End method when the process finishes. (Inherited from HttpApplication.)
Explicit interface implemetationPrivate property IHttpHandler.IsReusable Gets a Boolean value indicating whether another request can use the IHttpHandler object. (Inherited from HttpApplication.)
Explicit interface implemetationPrivate method IHttpHandler.ProcessRequest Enables processing of HTTP Web requests by a custom HTTP handler that implements the IHttpHandler interface. (Inherited from HttpApplication.)

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