共用方式為


Classification.HandleException Method

Wraps exceptions raised by the internals of the web service to the outside world unifies group security and authorization service exception to a common exception.

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

Syntax

'Declaration
Protected Overrides Function HandleException ( _
    e As Exception _
) As Exception
protected override Exception HandleException(
    Exception e
)
protected:
virtual Exception^ HandleException(
    Exception^ e
) override
abstract HandleException : 
        e:Exception -> Exception  
override HandleException : 
        e:Exception -> Exception
protected override function HandleException(
    e : Exception
) : Exception

Parameters

Return Value

Type: System.Exception
The translated exception.

.NET Framework Security

See Also

Reference

Classification Class

Microsoft.TeamFoundation.Integration.Server Namespace