Edit

Share via


AxHost.InvalidActiveXStateException Constructors

Definition

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()

Source:
AxHost.InvalidActiveXStateException.cs
Source:
AxHost.InvalidActiveXStateException.cs
Source:
AxHost.InvalidActiveXStateException.cs

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)

Source:
AxHost.InvalidActiveXStateException.cs
Source:
AxHost.InvalidActiveXStateException.cs
Source:
AxHost.InvalidActiveXStateException.cs

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.

See also

Applies to