diff options
Diffstat (limited to 'src/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r-- | src/WixToolset.Mba.Core/EventArgs.cs | 54 |
1 files changed, 53 insertions, 1 deletions
diff --git a/src/WixToolset.Mba.Core/EventArgs.cs b/src/WixToolset.Mba.Core/EventArgs.cs index b52b893a..4e59fd6f 100644 --- a/src/WixToolset.Mba.Core/EventArgs.cs +++ b/src/WixToolset.Mba.Core/EventArgs.cs | |||
@@ -163,7 +163,7 @@ namespace WixToolset.Mba.Core | |||
163 | /// <para>To prevent shutting down or logging off, set <see cref="CancellableHResultEventArgs.Cancel"/> to | 163 | /// <para>To prevent shutting down or logging off, set <see cref="CancellableHResultEventArgs.Cancel"/> to |
164 | /// true; otherwise, set it to false.</para> | 164 | /// true; otherwise, set it to false.</para> |
165 | /// <para>By default setup will prevent shutting down or logging off between | 165 | /// <para>By default setup will prevent shutting down or logging off between |
166 | /// <see cref="BootstrapperApplication.ApplyBegin"/> and <see cref="BootstrapperApplication.ApplyComplete"/>.</para> | 166 | /// <see cref="IDefaultBootstrapperApplication.ApplyBegin"/> and <see cref="IDefaultBootstrapperApplication.ApplyComplete"/>.</para> |
167 | /// <para>If <see cref="SystemShutdownEventArgs.Reasons"/> contains <see cref="EndSessionReasons.Critical"/> | 167 | /// <para>If <see cref="SystemShutdownEventArgs.Reasons"/> contains <see cref="EndSessionReasons.Critical"/> |
168 | /// the bootstrapper cannot prevent the shutdown and only has a few seconds to save state or perform any other | 168 | /// the bootstrapper cannot prevent the shutdown and only has a few seconds to save state or perform any other |
169 | /// critical operations before being closed by the operating system.</para> | 169 | /// critical operations before being closed by the operating system.</para> |
@@ -1950,6 +1950,10 @@ namespace WixToolset.Mba.Core | |||
1950 | [Serializable] | 1950 | [Serializable] |
1951 | public class LaunchApprovedExeBeginEventArgs : CancellableHResultEventArgs | 1951 | public class LaunchApprovedExeBeginEventArgs : CancellableHResultEventArgs |
1952 | { | 1952 | { |
1953 | /// <summary> | ||
1954 | /// | ||
1955 | /// </summary> | ||
1956 | /// <param name="cancelRecommendation"></param> | ||
1953 | public LaunchApprovedExeBeginEventArgs(bool cancelRecommendation) | 1957 | public LaunchApprovedExeBeginEventArgs(bool cancelRecommendation) |
1954 | : base(cancelRecommendation) | 1958 | : base(cancelRecommendation) |
1955 | { | 1959 | { |
@@ -1964,6 +1968,11 @@ namespace WixToolset.Mba.Core | |||
1964 | { | 1968 | { |
1965 | private int processId; | 1969 | private int processId; |
1966 | 1970 | ||
1971 | /// <summary> | ||
1972 | /// | ||
1973 | /// </summary> | ||
1974 | /// <param name="hrStatus"></param> | ||
1975 | /// <param name="processId"></param> | ||
1967 | public LaunchApprovedExeCompleteEventArgs(int hrStatus, int processId) | 1976 | public LaunchApprovedExeCompleteEventArgs(int hrStatus, int processId) |
1968 | : base(hrStatus) | 1977 | : base(hrStatus) |
1969 | { | 1978 | { |
@@ -1988,6 +1997,11 @@ namespace WixToolset.Mba.Core | |||
1988 | { | 1997 | { |
1989 | private string transactionId; | 1998 | private string transactionId; |
1990 | 1999 | ||
2000 | /// <summary> | ||
2001 | /// | ||
2002 | /// </summary> | ||
2003 | /// <param name="transactionId"></param> | ||
2004 | /// <param name="cancelRecommendation"></param> | ||
1991 | public BeginMsiTransactionBeginEventArgs(string transactionId, bool cancelRecommendation) | 2005 | public BeginMsiTransactionBeginEventArgs(string transactionId, bool cancelRecommendation) |
1992 | : base(cancelRecommendation) | 2006 | : base(cancelRecommendation) |
1993 | { | 2007 | { |
@@ -2011,6 +2025,11 @@ namespace WixToolset.Mba.Core | |||
2011 | { | 2025 | { |
2012 | private string transactionId; | 2026 | private string transactionId; |
2013 | 2027 | ||
2028 | /// <summary> | ||
2029 | /// | ||
2030 | /// </summary> | ||
2031 | /// <param name="transactionId"></param> | ||
2032 | /// <param name="hrStatus"></param> | ||
2014 | public BeginMsiTransactionCompleteEventArgs(string transactionId, int hrStatus) | 2033 | public BeginMsiTransactionCompleteEventArgs(string transactionId, int hrStatus) |
2015 | : base(hrStatus) | 2034 | : base(hrStatus) |
2016 | { | 2035 | { |
@@ -2034,6 +2053,11 @@ namespace WixToolset.Mba.Core | |||
2034 | { | 2053 | { |
2035 | private string transactionId; | 2054 | private string transactionId; |
2036 | 2055 | ||
2056 | /// <summary> | ||
2057 | /// | ||
2058 | /// </summary> | ||
2059 | /// <param name="transactionId"></param> | ||
2060 | /// <param name="cancelRecommendation"></param> | ||
2037 | public CommitMsiTransactionBeginEventArgs(string transactionId, bool cancelRecommendation) | 2061 | public CommitMsiTransactionBeginEventArgs(string transactionId, bool cancelRecommendation) |
2038 | : base(cancelRecommendation) | 2062 | : base(cancelRecommendation) |
2039 | { | 2063 | { |
@@ -2057,6 +2081,11 @@ namespace WixToolset.Mba.Core | |||
2057 | { | 2081 | { |
2058 | private string transactionId; | 2082 | private string transactionId; |
2059 | 2083 | ||
2084 | /// <summary> | ||
2085 | /// | ||
2086 | /// </summary> | ||
2087 | /// <param name="transactionId"></param> | ||
2088 | /// <param name="hrStatus"></param> | ||
2060 | public CommitMsiTransactionCompleteEventArgs(string transactionId, int hrStatus) | 2089 | public CommitMsiTransactionCompleteEventArgs(string transactionId, int hrStatus) |
2061 | : base(hrStatus) | 2090 | : base(hrStatus) |
2062 | { | 2091 | { |
@@ -2080,6 +2109,10 @@ namespace WixToolset.Mba.Core | |||
2080 | { | 2109 | { |
2081 | private string transactionId; | 2110 | private string transactionId; |
2082 | 2111 | ||
2112 | /// <summary> | ||
2113 | /// | ||
2114 | /// </summary> | ||
2115 | /// <param name="transactionId"></param> | ||
2083 | public RollbackMsiTransactionBeginEventArgs(string transactionId) | 2116 | public RollbackMsiTransactionBeginEventArgs(string transactionId) |
2084 | { | 2117 | { |
2085 | this.transactionId = transactionId; | 2118 | this.transactionId = transactionId; |
@@ -2102,6 +2135,11 @@ namespace WixToolset.Mba.Core | |||
2102 | { | 2135 | { |
2103 | private string transactionId; | 2136 | private string transactionId; |
2104 | 2137 | ||
2138 | /// <summary> | ||
2139 | /// | ||
2140 | /// </summary> | ||
2141 | /// <param name="transactionId"></param> | ||
2142 | /// <param name="hrStatus"></param> | ||
2105 | public RollbackMsiTransactionCompleteEventArgs(string transactionId, int hrStatus) | 2143 | public RollbackMsiTransactionCompleteEventArgs(string transactionId, int hrStatus) |
2106 | : base(hrStatus) | 2144 | : base(hrStatus) |
2107 | { | 2145 | { |
@@ -2123,6 +2161,9 @@ namespace WixToolset.Mba.Core | |||
2123 | [Serializable] | 2161 | [Serializable] |
2124 | public class PauseAutomaticUpdatesBeginEventArgs : HResultEventArgs | 2162 | public class PauseAutomaticUpdatesBeginEventArgs : HResultEventArgs |
2125 | { | 2163 | { |
2164 | /// <summary> | ||
2165 | /// | ||
2166 | /// </summary> | ||
2126 | public PauseAutomaticUpdatesBeginEventArgs() | 2167 | public PauseAutomaticUpdatesBeginEventArgs() |
2127 | { | 2168 | { |
2128 | } | 2169 | } |
@@ -2134,6 +2175,10 @@ namespace WixToolset.Mba.Core | |||
2134 | [Serializable] | 2175 | [Serializable] |
2135 | public class PauseAutomaticUpdatesCompleteEventArgs : StatusEventArgs | 2176 | public class PauseAutomaticUpdatesCompleteEventArgs : StatusEventArgs |
2136 | { | 2177 | { |
2178 | /// <summary> | ||
2179 | /// | ||
2180 | /// </summary> | ||
2181 | /// <param name="hrStatus"></param> | ||
2137 | public PauseAutomaticUpdatesCompleteEventArgs(int hrStatus) | 2182 | public PauseAutomaticUpdatesCompleteEventArgs(int hrStatus) |
2138 | : base(hrStatus) | 2183 | : base(hrStatus) |
2139 | { | 2184 | { |
@@ -2146,6 +2191,9 @@ namespace WixToolset.Mba.Core | |||
2146 | [Serializable] | 2191 | [Serializable] |
2147 | public class SystemRestorePointBeginEventArgs : HResultEventArgs | 2192 | public class SystemRestorePointBeginEventArgs : HResultEventArgs |
2148 | { | 2193 | { |
2194 | /// <summary> | ||
2195 | /// | ||
2196 | /// </summary> | ||
2149 | public SystemRestorePointBeginEventArgs() | 2197 | public SystemRestorePointBeginEventArgs() |
2150 | { | 2198 | { |
2151 | } | 2199 | } |
@@ -2157,6 +2205,10 @@ namespace WixToolset.Mba.Core | |||
2157 | [Serializable] | 2205 | [Serializable] |
2158 | public class SystemRestorePointCompleteEventArgs : StatusEventArgs | 2206 | public class SystemRestorePointCompleteEventArgs : StatusEventArgs |
2159 | { | 2207 | { |
2208 | /// <summary> | ||
2209 | /// | ||
2210 | /// </summary> | ||
2211 | /// <param name="hrStatus"></param> | ||
2160 | public SystemRestorePointCompleteEventArgs(int hrStatus) | 2212 | public SystemRestorePointCompleteEventArgs(int hrStatus) |
2161 | : base(hrStatus) | 2213 | : base(hrStatus) |
2162 | { | 2214 | { |