public Object CreateInstance()Public Function CreateInstance As Objectpublic:
Object^ CreateInstance()member CreateInstance : unit -> Object | ArgumentException | The constructor expects parameters. |
| InvalidOperationException | This CreateInstanceAccessor represents a static constructor, a constructor of an abstract class, or.a constructor of an open generic type. |
| NotSupportedException | On .NET Framework the code is executed in a partially trusted domain with insufficient permissions. |