編輯

共用方式為


AxHost.InvalidActiveXStateException.ToString Method

Definition

Creates and returns a string representation of the current exception.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string representation of the current exception.

Remarks

This method returns a string containing information about the member that referenced the ActiveX control and the kind of reference it made if this information was supplied in the AxHost.InvalidActiveXStateException(String, AxHost+ActiveXInvokeKind) constructor.

Applies to