aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.Native/Msm/IMsmError.cs
blob: 4f1325a67863f1fc5060a262dd3ac3cab1d6181c (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.

namespace WixToolset.Core.Native.Msm
{
    using System;
    using System.Runtime.InteropServices;

    /// <summary>
    /// A merge error.
    /// </summary>
    [ComImport, Guid("0ADDA828-2C26-11D2-AD65-00A0C9AF11A6")]
    public interface IMsmError
    {
        /// <summary>
        /// Gets the type of merge error.
        /// </summary>
        /// <value>The type of merge error.</value>
        MsmErrorType Type
        {
            get;
        }

        /// <summary>
        /// Gets the path information from the merge error.
        /// </summary>
        /// <value>The path information from the merge error.</value>
        string Path
        {
            get;
        }

        /// <summary>
        /// Gets the language information from the merge error.
        /// </summary>
        /// <value>The language information from the merge error.</value>
        short Language
        {
            get;
        }

        /// <summary>
        /// Gets the database table from the merge error.
        /// </summary>
        /// <value>The database table from the merge error.</value>
        string DatabaseTable
        {
            get;
        }

        /// <summary>
        /// Gets the collection of database keys from the merge error.
        /// </summary>
        /// <value>The collection of database keys from the merge error.</value>
        IMsmStrings DatabaseKeys
        {
            get;
        }

        /// <summary>
        /// Gets the module table from the merge error.
        /// </summary>
        /// <value>The module table from the merge error.</value>
        string ModuleTable
        {
            get;
        }

        /// <summary>
        /// Gets the collection of module keys from the merge error.
        /// </summary>
        /// <value>The collection of module keys from the merge error.</value>
        IMsmStrings ModuleKeys
        {
            get;
        }
    }
}