Редагувати

Поділитися через


FederatedAuthentication.GetHttpModule<T> Method

Definition

Gets the HTTP module of the specified type that is being used by the web application.

public:
generic <typename T>
 where T : class, System::Web::IHttpModule static T GetHttpModule();
public static T GetHttpModule<T> () where T : class, System.Web.IHttpModule;
static member GetHttpModule : unit -> 'T (requires 'T : null and 'T :> System.Web.IHttpModule)
Public Shared Function GetHttpModule(Of T As {Class, IHttpModule}) () As T

Type Parameters

T

The type of the module.

Returns

T

The HTTP module of the specified type or null if a module of the specified type cannot be found.

Applies to