Freigeben über


TeamFoundationApplicationCore.ApplySslRestriction Method

Apply SSL restriction by redirecting to an https url or returning an error code.

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

Syntax

'Declaration
Public Shared Sub ApplySslRestriction ( _
    application As HttpApplication _
)
public static void ApplySslRestriction(
    HttpApplication application
)
public:
static void ApplySslRestriction(
    HttpApplication^ application
)
static member ApplySslRestriction : 
        application:HttpApplication -> unit
public static function ApplySslRestriction(
    application : HttpApplication
)

Parameters

Remarks

Only throws an exception in some cases. Callers should return after ApplySslRestriction.

.NET Framework Security

See Also

Reference

TeamFoundationApplicationCore Class

Microsoft.TeamFoundation.Framework.Server Namespace