/
ComManagedImportUtil.xml
166 lines (152 loc) · 9.91 KB
/
ComManagedImportUtil.xml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<Type Name="ComManagedImportUtil" FullName="System.EnterpriseServices.Internal.ComManagedImportUtil">
<TypeSignature Language="C#" Value="public class ComManagedImportUtil : System.EnterpriseServices.Internal.IComManagedImportUtil" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ComManagedImportUtil extends System.Object implements class System.EnterpriseServices.Internal.IComManagedImportUtil" />
<TypeSignature Language="DocId" Value="T:System.EnterpriseServices.Internal.ComManagedImportUtil" />
<TypeSignature Language="VB.NET" Value="Public Class ComManagedImportUtil
Implements IComManagedImportUtil" />
<TypeSignature Language="F#" Value="type ComManagedImportUtil = class
 interface IComManagedImportUtil" />
<TypeSignature Language="C++ CLI" Value="public ref class ComManagedImportUtil : System::EnterpriseServices::Internal::IComManagedImportUtil" />
<AssemblyInfo>
<AssemblyName>System.EnterpriseServices</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.EnterpriseServices.Internal.IComManagedImportUtil</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.Guid("3b0398c9-7812-4007-85cb-18c771f2206f")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.Guid("3b0398c9-7812-4007-85cb-18c771f2206f")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Identifies and installs components in the COM+ catalog.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.EnterpriseServices.Internal.ComManagedImportUtil> is used internally by the .NET Framework. You do not need to use the class directly in your code.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ComManagedImportUtil ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.EnterpriseServices.Internal.ComManagedImportUtil.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 ComManagedImportUtil();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.EnterpriseServices</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.EnterpriseServices.Internal.ComManagedImportUtil" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetComponentInfo">
<MemberSignature Language="C#" Value="public void GetComponentInfo (string assemblyPath, out string numComponents, out string componentInfo);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetComponentInfo(string assemblyPath, [out] string& numComponents, [out] string& componentInfo) cil managed" />
<MemberSignature Language="DocId" Value="M:System.EnterpriseServices.Internal.ComManagedImportUtil.GetComponentInfo(System.String,System.String@,System.String@)" />
<MemberSignature Language="VB.NET" Value="Public Sub GetComponentInfo (assemblyPath As String, ByRef numComponents As String, ByRef componentInfo As String)" />
<MemberSignature Language="F#" Value="abstract member GetComponentInfo : string * string * string -> unit
override this.GetComponentInfo : string * string * string -> unit" Usage="comManagedImportUtil.GetComponentInfo (assemblyPath, numComponents, componentInfo)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void GetComponentInfo(System::String ^ assemblyPath, [Runtime::InteropServices::Out] System::String ^ % numComponents, [Runtime::InteropServices::Out] System::String ^ % componentInfo);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.EnterpriseServices.Internal.IComManagedImportUtil.GetComponentInfo(System.String,System.String@,System.String@)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.EnterpriseServices</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="assemblyPath" Type="System.String" />
<Parameter Name="numComponents" Type="System.String" RefType="out" />
<Parameter Name="componentInfo" Type="System.String" RefType="out" />
</Parameters>
<Docs>
<param name="assemblyPath">The path to the assembly.</param>
<param name="numComponents">When this method returns, this parameter contains the number of components in the assembly.</param>
<param name="componentInfo">When this method returns, this parameter contains the information about the components.</param>
<summary>Gets the component information from the assembly.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called by the COM+ catalog to identify the class identifiers (CLSIDs) and ProgIDs of the components in a DLL before it is registered.
]]></format>
</remarks>
<exception cref="T:System.ArgumentException">
<paramref name="assemblyPath" /> is an empty string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.
-or-
The system could not retrieve the absolute path.</exception>
<exception cref="T:System.Security.SecurityException">The caller does not have the required permissions.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="assemblyPath" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="assemblyPath" /> contains a colon (":").</exception>
<exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. </exception>
</Docs>
</Member>
<Member MemberName="InstallAssembly">
<MemberSignature Language="C#" Value="public void InstallAssembly (string asmpath, string parname, string appname);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void InstallAssembly(string asmpath, string parname, string appname) cil managed" />
<MemberSignature Language="DocId" Value="M:System.EnterpriseServices.Internal.ComManagedImportUtil.InstallAssembly(System.String,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub InstallAssembly (asmpath As String, parname As String, appname As String)" />
<MemberSignature Language="F#" Value="abstract member InstallAssembly : string * string * string -> unit
override this.InstallAssembly : string * string * string -> unit" Usage="comManagedImportUtil.InstallAssembly (asmpath, parname, appname)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void InstallAssembly(System::String ^ asmpath, System::String ^ parname, System::String ^ appname);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.EnterpriseServices.Internal.IComManagedImportUtil.InstallAssembly(System.String,System.String,System.String)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.EnterpriseServices</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="asmpath" Type="System.String" />
<Parameter Name="parname" Type="System.String" />
<Parameter Name="appname" Type="System.String" />
</Parameters>
<Docs>
<param name="asmpath">The path for the assembly.</param>
<param name="parname">The COM+ partition name.</param>
<param name="appname">The COM+ application name.</param>
<summary>Installs an assembly into a COM+ application.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.EnterpriseServices.Internal.ComManagedImportUtil.InstallAssembly%2A> calls <xref:System.EnterpriseServices.RegistrationHelper.InstallAssembly%2A?displayProperty=nameWithType>, which performs the following steps:
1. Registration of the assembly.
2. Generation of a type library.
3. Registration of the type library.
4. Installation of the type library under the specified application.
5. Configuration of the components contained in the type library.
This method requires the caller to have administrative privileges on the local computer.
]]></format>
</remarks>
<exception cref="T:System.Security.SecurityException">A caller in the call chain does not have permission to access unmanaged code.</exception>
<exception cref="T:System.EnterpriseServices.RegistrationException">The input assembly does not have a strong name.</exception>
</Docs>
</Member>
</Members>
</Type>