You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 lines
1.2 KiB

//-----------------------------------------------------------------------
// <copyright file="CErrorResponseMessage.cs" company="Origtek">
// CErrorResponseMessage belongs to Copyright (c) Origtek. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace OT.COM.SignalerMessage
{
/// <summary>
/// Error response message
/// </summary>
public class CErrorResponseMessage : CResponseMessage
{
/// <summary>
/// Initializes a new instance of the <see cref="CErrorResponseMessage" /> class
/// </summary>
/// <param name="i_sMsg">
/// Error message
/// </param>
/// <param name="i_crm">
/// Origin Request
/// </param>
public CErrorResponseMessage(string i_sMsg, CRequestMessage i_crm = null)
{
this.result = EResponseResult.RR_FALSE;
this.msg = i_sMsg;
if (i_crm != null)
{
this.project = i_crm.project;
this.projectver = i_crm.projectver;
this.method = i_crm.method;
}
}
}
}