Example #1
0
        public override void GetObjectData(_System.Runtime.Serialization.SerializationInfo info, _System.Runtime.Serialization.StreamingContext context)
        {
            info.AddValue("innerCode", this.innerCode);
            info.AddValue("innerMessage", this.innerMessage == null ? "" : this.innerMessage);

            base.GetObjectData(info, context);
        }
Example #2
0
 private static void AddValue18(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle name, global::net.sf.jni4net.utils.JniLocalHandle value)
 {
     // (Ljava/lang/String;Lsystem/DateTime;)V
     // (LSystem/String;LSystem/DateTime;)V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
         global::System.Runtime.Serialization.SerializationInfo @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.Runtime.Serialization.SerializationInfo>(@__env, @__obj);
         @__real.AddValue(global::net.sf.jni4net.utils.Convertor.StrongJ2CString(@__env, name), global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.DateTime>(@__env, value));
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
 }
Example #3
0
        public override void GetObjectData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
        {
            info.AddValue("reason", this.reason == null ? "" : this.reason);

            base.GetObjectData(info, context);
        }