+#else
+ [Obsolete ("Activator.CreateInstance (ActivationContext) is not supported on this platform.", true)]
+ public static ObjectHandle CreateInstance (ActivationContext activationContext) {
+ throw new PlatformNotSupportedException ("Activator.CreateInstance (ActivationContext) is not supported on this platform.");
+ }
+
+ [Obsolete ("Activator.CreateInstance (ActivationContext, string[]) is not supported on this platform.", true)]
+ public static ObjectHandle CreateInstance (ActivationContext activationContext, string[] activationCustomData) {
+ throw new PlatformNotSupportedException ("Activator.CreateInstance (ActivationContext) is not supported on this platform.");
+ }
+#endif