예제 #1
0
 static void OnRtnError(object sender, ref ErrorField error)
 {
     Console.WriteLine("BB" + error.ErrorID + error.ErrorMsg());
 }
예제 #2
0
 public static string ErrorMsg(this ErrorField field)
 {
     return(PInvokeUtility.GetUnicodeString(field.ErrorMsg));
 }
예제 #3
0
 static void OnRtnError(object sender, ref ErrorField error)
 {
     Console.WriteLine("BB" + error.ErrorID + error.ErrorMsg());
 }
예제 #4
0
 public static string ToFormattedString(this ErrorField field)
 {
     return(string.Format("[ErrorID={0},ErrorMsg={1}]",
                          field.ErrorID, field.ErrorMsg()));
 }
예제 #5
0
파일: Program.cs 프로젝트: jasonweiyi/XAPI2
 static void OnRtnError(object sender, ref ErrorField error)
 {
     Console.WriteLine("BB" + error.XErrorID + error.RawErrorID + error.Text());
 }
예제 #6
0
 static void OnRtnError(object sender, ref ErrorField error)
 {
     Console.WriteLine("BB" + error.XErrorID + error.RawErrorID + error.Text());
 }
예제 #7
0
파일: Extensions.cs 프로젝트: dst1213/XAPI2
 public static string Text([In] this ErrorField field)
 {
     return(PInvokeUtility.GetUnicodeString(field.Text));
 }
예제 #8
0
파일: Extensions.cs 프로젝트: dst1213/XAPI2
 public static string ToFormattedString([In] this ErrorField field)
 {
     return(string.Format("[XErrorID={0};RawErrorID={1};Text={2};Source={3}]",
                          field.XErrorID, field.RawErrorID, field.Text(), field.Source));
 }