/// <summary>
 ///
 /// </summary>
 /// <param name="message"></param>
 /// <param name="instanceId"></param>
 /// <returns></returns>
 public bool WriteMessage(string message, Guid instanceId)
 {
     return(DebugChannel.TraceInformational(PowerShellTraceEvent.TraceMessageGuid,
                                            PowerShellTraceOperationCode.None,
                                            PowerShellTraceTask.None, message, instanceId));
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="message1"></param>
 /// <param name="message2"></param>
 /// <returns></returns>
 public bool WriteMessage(string message1, string message2)
 {
     return(DebugChannel.TraceInformational(PowerShellTraceEvent.TraceMessage2,
                                            PowerShellTraceOperationCode.None,
                                            PowerShellTraceTask.None, message1, message2));
 }