Merge pull request #1896 from meum/patch-1
[mono.git] / mcs / class / System.Web / System.Web.Hosting / IAppManagerAppDomainFactory.cs
index 198298ed6a323bb978af3c186aa7bd5e27e85464..93fcadc9b65dffd7f15e54b0f63d85a52dcb8a21 100644 (file)
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
 
-#if NET_2_0
 
 using System.Runtime.InteropServices;
 
 namespace System.Web.Hosting
 {
+       [GuidAttribute ("02998279-7175-4D59-AA5A-FB8E44D4CA9D")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImportAttribute]
         public interface IAppManagerAppDomainFactory
         {
-                object Create ([In] string s, [In] string app_id);
+               [return: MarshalAs (UnmanagedType.Interface)]
+                object Create ([In, MarshalAs(UnmanagedType.BStr)] string s,
+                              [In, MarshalAs(UnmanagedType.BStr)] string app_id);
                 void Stop ();
         }
 }
-#endif