Container for MethodResultMessage
Inheritance: MessageBase
Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of MethodResultMessage
 /// </summary>
 /// <param name="result">Message</param>
 /// <returns>Returns a new instance of MethodResultMessage</returns>
 public static MethodResultMessage CreateInstance(MethodResult result, String callid)
 {
     MethodResultMessage instance = new MethodResultMessage();
     instance.Result = result;
     instance.CallId = callid;
     instance.Timestamp = DateTime.Now.Ticks;
     return instance;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a new instance of MethodResultMessage
        /// </summary>
        /// <param name="result">Message</param>
        /// <returns>Returns a new instance of MethodResultMessage</returns>
        public static MethodResultMessage CreateInstance(MethodResult result, String callid)
        {
            MethodResultMessage instance = new MethodResultMessage();

            instance.Result    = result;
            instance.CallId    = callid;
            instance.Timestamp = DateTime.Now.Ticks;
            return(instance);
        }