TeamFoundationServiceException.ExtractEnumName Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function ExtractEnumName ( _
error As SqlError, _
key As String, _
enumerationType As Type _
) As String
public static string ExtractEnumName(
SqlError error,
string key,
Type enumerationType
)
public:
static String^ ExtractEnumName(
SqlError^ error,
String^ key,
Type^ enumerationType
)
static member ExtractEnumName :
error:SqlError *
key:string *
enumerationType:Type -> string
public static function ExtractEnumName(
error : SqlError,
key : String,
enumerationType : Type
) : String
Parameters
- error
Type: System.Data.SqlClient.SqlError
- key
Type: System.String
- enumerationType
Type: System.Type
Return Value
Type: System.String
Returns String.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.