AxHost.InvalidActiveXStateException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AxHost.InvalidActiveXStateException class.
Overloads
AxHost.InvalidActiveXStateException() |
Initializes a new instance of the AxHost.InvalidActiveXStateException class without specifying information about the member that referenced the ActiveX control. |
AxHost.InvalidActiveXStateException(String, AxHost+ActiveXInvokeKind) |
Initializes a new instance of the AxHost.InvalidActiveXStateException class and indicates the name of the member that referenced the ActiveX control and the kind of reference it made. |
AxHost.InvalidActiveXStateException()
Initializes a new instance of the AxHost.InvalidActiveXStateException class without specifying information about the member that referenced the ActiveX control.
public:
InvalidActiveXStateException();
public InvalidActiveXStateException ();
Public Sub New ()
Applies to
AxHost.InvalidActiveXStateException(String, AxHost+ActiveXInvokeKind)
Initializes a new instance of the AxHost.InvalidActiveXStateException class and indicates the name of the member that referenced the ActiveX control and the kind of reference it made.
public:
InvalidActiveXStateException(System::String ^ name, System::Windows::Forms::AxHost::ActiveXInvokeKind kind);
public InvalidActiveXStateException (string name, System.Windows.Forms.AxHost.ActiveXInvokeKind kind);
public InvalidActiveXStateException (string? name, System.Windows.Forms.AxHost.ActiveXInvokeKind kind);
new System.Windows.Forms.AxHost.InvalidActiveXStateException : string * System.Windows.Forms.AxHost.ActiveXInvokeKind -> System.Windows.Forms.AxHost.InvalidActiveXStateException
Public Sub New (name As String, kind As AxHost.ActiveXInvokeKind)
Parameters
- name
- String
The name of the member that referenced the ActiveX control while it was in an invalid state.
One of the AxHost.ActiveXInvokeKind values.