1 // System.EnterpriseServices.Internal.IComSoapPublisher.cs
4 // Alejandro Sánchez Acosta (raciel@es.gnu.org)
6 // Copyright (C) 2002 Alejandro Sánchez Acosta
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 using System
.Runtime
.InteropServices
;
33 namespace System
.EnterpriseServices
.Internal
36 [Guid("d8013eee-730b-45e2-ba24-874b7242c425")]
37 public interface IComSoapPublisher
41 [MarshalAs(UnmanagedType
.BStr
)] string RootMailServer
,
42 [MarshalAs(UnmanagedType
.BStr
)] string MailBox
,
43 [MarshalAs(UnmanagedType
.BStr
)] out string SmtpName
,
44 [MarshalAs(UnmanagedType
.BStr
)] out string Domain
,
45 [MarshalAs(UnmanagedType
.BStr
)] out string PhysicalPath
,
46 [MarshalAs(UnmanagedType
.BStr
)] out string Error
);
49 void CreateVirtualRoot (
50 [MarshalAs(UnmanagedType
.BStr
)] string Operation
,
51 [MarshalAs(UnmanagedType
.BStr
)] string FullUrl
,
52 [MarshalAs(UnmanagedType
.BStr
)] out string BaseUrl
,
53 [MarshalAs(UnmanagedType
.BStr
)] out string VirtualRoot
,
54 [MarshalAs(UnmanagedType
.BStr
)] out string PhysicalPath
,
55 [MarshalAs(UnmanagedType
.BStr
)] out string Error
);
59 [MarshalAs(UnmanagedType
.BStr
)] string RootMailServer
,
60 [MarshalAs(UnmanagedType
.BStr
)] string MailBox
,
61 [MarshalAs(UnmanagedType
.BStr
)] out string Error
);
64 void DeleteVirtualRoot (
65 [MarshalAs(UnmanagedType
.BStr
)] string RootWebServer
,
66 [MarshalAs(UnmanagedType
.BStr
)] string FullUrl
,
67 [MarshalAs(UnmanagedType
.BStr
)] out string Error
);
70 void GacInstall ([MarshalAs(UnmanagedType
.BStr
)] string AssemblyPath
);
73 void GacRemove ([MarshalAs(UnmanagedType
.BStr
)] string AssemblyPath
);
76 void GetAssemblyNameForCache (
77 [MarshalAs(UnmanagedType
.BStr
)] string TypeLibPath
,
78 [MarshalAs(UnmanagedType
.BStr
)] out string CachePath
);
80 [return: MarshalAs(UnmanagedType
.BStr
)]
82 string GetTypeNameFromProgId (
83 [MarshalAs(UnmanagedType
.BStr
)] string AssemblyPath
,
84 [MarshalAs(UnmanagedType
.BStr
)] string ProgId
);
87 void ProcessClientTlb (
88 [MarshalAs(UnmanagedType
.BStr
)] string ProgId
,
89 [MarshalAs(UnmanagedType
.BStr
)] string SrcTlbPath
,
90 [MarshalAs(UnmanagedType
.BStr
)] string PhysicalPath
,
91 [MarshalAs(UnmanagedType
.BStr
)] string VRoot
,
92 [MarshalAs(UnmanagedType
.BStr
)] string BaseUrl
,
93 [MarshalAs(UnmanagedType
.BStr
)] string Mode
,
94 [MarshalAs(UnmanagedType
.BStr
)] string Transport
,
95 [MarshalAs(UnmanagedType
.BStr
)] out string AssemblyName
,
96 [MarshalAs(UnmanagedType
.BStr
)] out string TypeName
,
97 [MarshalAs(UnmanagedType
.BStr
)] out string Error
);
100 void ProcessServerTlb (
101 [MarshalAs(UnmanagedType
.BStr
)] string ProgId
,
102 [MarshalAs(UnmanagedType
.BStr
)] string SrcTlbPath
,
103 [MarshalAs(UnmanagedType
.BStr
)] string PhysicalPath
,
104 [MarshalAs(UnmanagedType
.BStr
)] string Operation
,
105 [MarshalAs(UnmanagedType
.BStr
)] out string AssemblyName
,
106 [MarshalAs(UnmanagedType
.BStr
)] out string TypeName
,
107 [MarshalAs(UnmanagedType
.BStr
)] out string Error
);
110 void RegisterAssembly ([MarshalAs(UnmanagedType
.BStr
)] string AssemblyPath
);
113 void UnRegisterAssembly ([MarshalAs(UnmanagedType
.BStr
)] string AssemblyPath
);