-
Notifications
You must be signed in to change notification settings - Fork 0
/
WindowPendingProcessException.cs
34 lines (33 loc) · 1.23 KB
/
WindowPendingProcessException.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Runtime.Serialization;
namespace MakCraft.ViewModels
{
/// <summary>
/// ウィンドウを閉じようとした際にビューモデルが処理途中等で閉じることができない場合にスローされる例外。
/// </summary>
[Serializable]
public class WindowPendingProcessException : Exception
{
/// <summary>
/// コンストラクタ。
/// </summary>
public WindowPendingProcessException() : base() { }
/// <summary>
/// コンストラクタ。
/// </summary>
/// <param name="message"></param>
public WindowPendingProcessException(string message) : base(message) { }
/// <summary>
/// コンストラクタ。
/// </summary>
/// <param name="message"></param>
/// <param name="inner"></param>
public WindowPendingProcessException(string message, Exception inner) : base(message, inner) { }
/// <summary>
/// コンストラクタ。
/// </summary>
/// <param name="info"></param>
/// <param name="context"></param>
public WindowPendingProcessException(SerializationInfo info, StreamingContext context) { }
}
}