VsShellComponentModelHost.ReportIssue Method
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.
Overloads
| Name | Description |
|---|---|
| ReportIssue(VsComponentModelHostBaseIssueType, String, String) |
Reports the issue to VS shell. |
| ReportIssue(VsComponentModelHostBaseIssueType, String, String, IEnumerable<ReportingData>) |
The method is used to log with the host issues occured in ExtensibilityHosting functionality. The default implementation doesn't do any reporting. |
ReportIssue(VsComponentModelHostBaseIssueType, String, String)
Reports the issue to VS shell.
public:
override void ReportIssue(Microsoft::VisualStudio::ExtensibilityHosting::VsComponentModelHostBaseIssueType type, System::String ^ description, System::String ^ path);
public override void ReportIssue(Microsoft.VisualStudio.ExtensibilityHosting.VsComponentModelHostBaseIssueType type, string description, string path);
override this.ReportIssue : Microsoft.VisualStudio.ExtensibilityHosting.VsComponentModelHostBaseIssueType * string * string -> unit
Public Overrides Sub ReportIssue (type As VsComponentModelHostBaseIssueType, description As String, path As String)
Parameters
- type
- Microsoft.VisualStudio.ExtensibilityHosting.VsComponentModelHostBaseIssueType
The type of the issue reported.
- description
- String
The details about the issue.
- path
- String
A path the issue is associated with. Can be null if the issue isn't related to any particular path.
Remarks
The current implementation writes the information about an issue with a component assembly into VS' activity log.
Applies to
ReportIssue(VsComponentModelHostBaseIssueType, String, String, IEnumerable<ReportingData>)
The method is used to log with the host issues occured in ExtensibilityHosting functionality. The default implementation doesn't do any reporting.
public:
override void ReportIssue(Microsoft::VisualStudio::ExtensibilityHosting::VsComponentModelHostBaseIssueType type, System::String ^ description, System::String ^ eventName, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::ExtensibilityHosting::ReportingData> ^ data);
public override void ReportIssue(Microsoft.VisualStudio.ExtensibilityHosting.VsComponentModelHostBaseIssueType type, string description, string eventName, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.ExtensibilityHosting.ReportingData> data);
override this.ReportIssue : Microsoft.VisualStudio.ExtensibilityHosting.VsComponentModelHostBaseIssueType * string * string * seq<Microsoft.VisualStudio.ExtensibilityHosting.ReportingData> -> unit
Public Overrides Sub ReportIssue (type As VsComponentModelHostBaseIssueType, description As String, eventName As String, data As IEnumerable(Of ReportingData))
Parameters
- type
- Microsoft.VisualStudio.ExtensibilityHosting.VsComponentModelHostBaseIssueType
The type of the issue reported.
- description
- String
The details about the issue.
- eventName
- String
The event name to use for telemetry. If null, we do not send telemetry.
- data
- IEnumerable<Microsoft.VisualStudio.ExtensibilityHosting.ReportingData>
Data about the issue.