/// <summary>
 /// Initializes a new instance of the <see cref="NonSerializableRemoteException"/> class.
 /// </summary>
 /// <param name="invokeState">State of the invoke.</param>
 /// <param name="message">The message.</param>
 /// <param name="name">The name.</param>
 /// <param name="typeName">Name of the type.</param>
 /// <param name="messageOnly">The message only.</param>
 public NonSerializableRemoteException(IInvokeState invokeState, string message, string name, string typeName, string messageOnly)
     : this(invokeState, message)
 {
     this.Name        = name;
     this.TypeName    = typeName;
     this.MessageOnly = messageOnly;
 }
        // ----------------------------------------------------------------------------------------
        // NonSerializableRemoteException fields
        // ----------------------------------------------------------------------------------------

        // ----------------------------------------------------------------------------------------

        #endregion NonSerializableRemoteException fields

        #region NonSerializableRemoteException constructors

        // ----------------------------------------------------------------------------------------
        // NonSerializableRemoteException constructors
        // ----------------------------------------------------------------------------------------
        /// <summary>
        /// Creates a new instance of the <c>NonSerializableRemoteException</c> class.
        /// </summary>
        public NonSerializableRemoteException(IInvokeState invokeState, string message)
            : base(message)
        {
            this.InvokeState = invokeState;
            ExceptionWrapper.AddRemoteInvokeIdentification(this);
        }