TeamFoundationApplication Class

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

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

public class TeamFoundationApplication : HttpApplication, 
	IRegisteredObject

The TeamFoundationApplication type exposes the following members.

  NameDescription
Public propertyApplicationGets the current state of an application. (Inherited from HttpApplication.)
Public propertyContextGets HTTP-specific information about the current request. (Inherited from HttpApplication.)
Protected propertyEventsGets the list of event handler delegates that process all application events. (Inherited from HttpApplication.)
Public propertyModulesGets the collection of modules for the current application. (Inherited from HttpApplication.)
Public propertyRequestGets the intrinsic request object for the current request. (Inherited from HttpApplication.)
Public propertyRequestContextThe 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.
Public propertyResponseGets the intrinsic response object for the current request. (Inherited from HttpApplication.)
Public propertyServerGets the intrinsic server object for the current request. (Inherited from HttpApplication.)
Public propertySessionGets the intrinsic session object that provides access to session data. (Inherited from HttpApplication.)
Public propertySiteGets or sets a site interface for an IComponent implementation. (Inherited from HttpApplication.)
Public propertyUserGets the intrinsic user object for the current request. (Inherited from HttpApplication.)
Top

  NameDescription
Public methodAddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnBeginRequestAsync(BeginEventHandler, EndEventHandler)Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnEndRequestAsync(BeginEventHandler, EndEventHandler)Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnLogRequestAsync(BeginEventHandler, EndEventHandler)Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnLogRequestAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)Adds the specified PostAuthenticateRequest event to the collection of asynchronous PostAuthenticateRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PostAuthorizeRequest to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler)Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler)Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler)Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler)Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler)Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler)Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnResolveRequestCacheAsync(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 methodAddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler)Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Public methodAddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.)
Protected methodApplication_EndPerform common application end handling.
Protected methodApplication_EndRequestPost-request handling. The request completion is traced to ASP.NET and the Thread's culture is reset.
Protected methodApplication_ErrorHandle errors in the application. Exceptions are logged and reported through Watson.
Protected methodApplication_StartPerform common application start handling.
Public methodCompleteRequestCauses 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 methodDisposeDisposes the HttpApplication instance. (Inherited from HttpApplication.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
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 a hash function for a particular type. (Inherited from Object.)
Public methodGetOutputCacheProviderNameGets the name of the default output-cache provider that is configured for a Web site. (Inherited from HttpApplication.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetVaryByCustomStringProvides an application-wide implementation of the VaryByCustom property. (Inherited from HttpApplication.)
Public methodInitExecutes custom initialization code after all event handler modules have been added. (Inherited from HttpApplication.)
Public methodStatic memberLog(String, Int32, EventLogEntryType)Log a general message to the event log under the [TeamFoundation] [EventSource]
Public methodStatic memberLog(String, String, Int32, EventLogEntryType)
Public methodStatic memberLog(TeamFoundationRequestContext, String, Int32, EventLogEntryType)Log a general message to the event log under the [TeamFoundation] [EventSource].
Public methodStatic memberLog(TeamFoundationRequestContext, String, String, Int32, EventLogEntryType)
Public methodStatic memberLogException(String, Exception)Log an exception to the event log under the [TeamFoundation] [EventSource]. Use the details from the exception to get the [EventId] and [EventLogType].
Public methodStatic memberLogException(TeamFoundationRequestContext, String, Exception)Log an exception to the event log under the [TeamFoundation] [EventSource]. Use the details from the exception to get the [EventId] and [EventLogType].
Public methodStatic memberLogException(String, Exception, Int32, EventLogEntryType)Log an exception to the event log under the [TeamFoundation] [EventSource].
Public methodStatic memberLogException(TeamFoundationRequestContext, String, Exception, Int32, EventLogEntryType)Log an exception to the event log under the [TeamFoundation] [EventSource].
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStop[IRegisteredObject.Stop] is called when ASP.NET is trying to shut down the application.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventAcquireRequestStateOccurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request. (Inherited from HttpApplication.)
Public eventAuthenticateRequestOccurs when a security module has established the identity of the user. (Inherited from HttpApplication.)
Public eventAuthorizeRequestOccurs when a security module has verified user authorization. (Inherited from HttpApplication.)
Public eventBeginRequestOccurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request. (Inherited from HttpApplication.)
Public eventDisposedOccurs when the application is disposed. (Inherited from HttpApplication.)
Public eventEndRequestOccurs as the last event in the HTTP pipeline chain of execution when ASP.NET responds to a request. (Inherited from HttpApplication.)
Public eventErrorOccurs when an unhandled exception is thrown. (Inherited from HttpApplication.)
Public eventLogRequestOccurs just before ASP.NET performs any logging for the current request. (Inherited from HttpApplication.)
Public eventMapRequestHandlerInfrastructure. Occurs when the handler is selected to respond to the request. (Inherited from HttpApplication.)
Public eventOnFormatErrorAn event that is fired before the application, returning an error response.
Public eventOnReportError
Public eventPostAcquireRequestStateOccurs when the request state (for example, session state) that is associated with the current request has been obtained. (Inherited from HttpApplication.)
Public eventPostAuthenticateRequestOccurs when a security module has established the identity of the user. (Inherited from HttpApplication.)
Public eventPostAuthorizeRequestOccurs when the user for the current request has been authorized. (Inherited from HttpApplication.)
Public eventPostLogRequestOccurs when ASP.NET has completed processing all the event handlers for the LogRequest event. (Inherited from HttpApplication.)
Public eventPostMapRequestHandlerOccurs when ASP.NET has mapped the current request to the appropriate event handler. (Inherited from HttpApplication.)
Public eventPostReleaseRequestStateOccurs when ASP.NET has completed executing all request event handlers and the request state data has been stored. (Inherited from HttpApplication.)
Public eventPostRequestHandlerExecuteOccurs when the ASP.NET event handler (for example, a page or an XML Web service) finishes execution. (Inherited from HttpApplication.)
Public eventPostResolveRequestCacheOccurs 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 eventPostUpdateRequestCacheOccurs when ASP.NET finishes updating caching modules and storing responses that are used to serve subsequent requests from the cache. (Inherited from HttpApplication.)
Public eventPreRequestHandlerExecuteOccurs just before ASP.NET starts executing an event handler (for example, a page or an XML Web service). (Inherited from HttpApplication.)
Public eventPreSendRequestContentOccurs just before ASP.NET sends content to the client. (Inherited from HttpApplication.)
Public eventPreSendRequestHeadersOccurs just before ASP.NET sends HTTP headers to the client. (Inherited from HttpApplication.)
Public eventReleaseRequestStateOccurs after ASP.NET finishes executing all request event handlers. This event causes state modules to save the current state data. (Inherited from HttpApplication.)
Public eventRequestCompletedOccurs when the managed objects that are associated with the request have been released. (Inherited from HttpApplication.)
Public eventResolveRequestCacheOccurs 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 eventUpdateRequestCacheOccurs 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

  NameDescription
Protected fieldStatic members_deploymentDatabaseConfiguration information about the application database and the TFS-instance for this application database.
Protected fieldStatic members_deploymentServiceHostThe root service host is used to process all requests that are not directed at a configured team project collection. This enables services to run in the global state and still reference a service host.
Top

  NameDescription
Explicit interface implemetationPrivate methodIHttpAsyncHandler.BeginProcessRequestInitiates an asynchronous call to the HTTP event handler. (Inherited from HttpApplication.)
Explicit interface implemetationPrivate methodIHttpAsyncHandler.EndProcessRequestProvides an asynchronous process End method when the process finishes. (Inherited from HttpApplication.)
Explicit interface implemetationPrivate propertyIHttpHandler.IsReusableGets a Boolean value indicating whether another request can use the IHttpHandler object. (Inherited from HttpApplication.)
Explicit interface implemetationPrivate methodIHttpHandler.ProcessRequestEnables processing of HTTP Web requests by a custom HTTP handler that implements the IHttpHandler interface. (Inherited from HttpApplication.)
Top

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