C# Class Cgw.SmcError.ErrorInfo

Mostra file Open project: eSDK/esdk_Cgw Class Usage Examples

Public Methods

Method Description
AddEmail ( string email ) : void

添加Email

AddMultipleErrs ( SmcErr err ) : void

保存批量操作的错误描述

AddSmcErrInfo ( SmcErr err ) : void

保存错误描述包括的扩展错误原因

ErrorInfo ( ) : System

构造函数

FindParameters ( string param ) : string

根据参数名,查找字典中所有的指定参数值

GetErrorInfo ( DelegateGetErrorDesc delegateHandler, int langId, string errDesc ) : string>.Dictionary

取出字典{标识符,标识符替代值}

GetProperties ( string errDesc ) : List

识别所有标识符“{标识名称}{序号}”

ToFormatedErrDesc ( DelegateGetErrorDesc delegateHandler, int langId, string errDesc ) : string

格式化错误描述信息,填充错误参数

Method Details

AddEmail() public method

添加Email
public AddEmail ( string email ) : void
email string email
return void

AddMultipleErrs() public method

保存批量操作的错误描述
public AddMultipleErrs ( SmcErr err ) : void
err SmcErr 错误信息
return void

AddSmcErrInfo() public method

保存错误描述包括的扩展错误原因
public AddSmcErrInfo ( SmcErr err ) : void
err SmcErr 错误信息
return void

ErrorInfo() public method

构造函数
public ErrorInfo ( ) : System
return System

FindParameters() public method

根据参数名,查找字典中所有的指定参数值
public FindParameters ( string param ) : string
param string 参数名
return string

GetErrorInfo() public method

取出字典{标识符,标识符替代值}
public GetErrorInfo ( DelegateGetErrorDesc delegateHandler, int langId, string errDesc ) : string>.Dictionary
delegateHandler DelegateGetErrorDesc 委托数据库取描述字串
langId int 语种ID
errDesc string 带格式的错误描述,需补充参数
return string>.Dictionary

GetProperties() public method

识别所有标识符“{标识名称}{序号}”
public GetProperties ( string errDesc ) : List
errDesc string 带格式的错误描述,需要补充参数
return List

ToFormatedErrDesc() public method

格式化错误描述信息,填充错误参数
public ToFormatedErrDesc ( DelegateGetErrorDesc delegateHandler, int langId, string errDesc ) : string
delegateHandler DelegateGetErrorDesc 委托线程
langId int langId
errDesc string 带格式的错误描述,需要补充参数
return string