FederatedAuthentication.GetHttpModule<T> 方法

定义

获取 Web 应用程序所使用的指定类型的 HTTP 模块。

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

类型参数

T

模块的类型。

返回

T

指定类型的 HTTP 模块或者如果指定类型不能被找到则为 null

适用于