SerializationErrorListItem 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.
Overloads
SerializationErrorListItem(IServiceProvider, SerializationMessage) |
Constructor, using TextView as the default navigation logical view, and XML editor as navigation editor. |
SerializationErrorListItem(IServiceProvider, Guid, Guid, SerializationMessage) |
Constructor |
SerializationErrorListItem(IServiceProvider, SerializationMessage)
Constructor, using TextView as the default navigation logical view, and XML editor as navigation editor.
public:
SerializationErrorListItem(IServiceProvider ^ serviceProvider, Microsoft::VisualStudio::Modeling::SerializationMessage ^ serializationMessage);
public SerializationErrorListItem (IServiceProvider serviceProvider, Microsoft.VisualStudio.Modeling.SerializationMessage serializationMessage);
new Microsoft.VisualStudio.Modeling.Shell.SerializationErrorListItem : IServiceProvider * Microsoft.VisualStudio.Modeling.SerializationMessage -> Microsoft.VisualStudio.Modeling.Shell.SerializationErrorListItem
Public Sub New (serviceProvider As IServiceProvider, serializationMessage As SerializationMessage)
Parameters
- serviceProvider
- IServiceProvider
SerivceProvider for this item. If null, the navigate functionalitity won't work.
- serializationMessage
- SerializationMessage
The SerializationMessage to be translated.
Applies to
SerializationErrorListItem(IServiceProvider, Guid, Guid, SerializationMessage)
Constructor
public:
SerializationErrorListItem(IServiceProvider ^ serviceProvider, Guid navigationLogicalView, Guid navigationEditorFactoryId, Microsoft::VisualStudio::Modeling::SerializationMessage ^ serializationMessage);
public SerializationErrorListItem (IServiceProvider serviceProvider, Guid navigationLogicalView, Guid navigationEditorFactoryId, Microsoft.VisualStudio.Modeling.SerializationMessage serializationMessage);
new Microsoft.VisualStudio.Modeling.Shell.SerializationErrorListItem : IServiceProvider * Guid * Guid * Microsoft.VisualStudio.Modeling.SerializationMessage -> Microsoft.VisualStudio.Modeling.Shell.SerializationErrorListItem
Public Sub New (serviceProvider As IServiceProvider, navigationLogicalView As Guid, navigationEditorFactoryId As Guid, serializationMessage As SerializationMessage)
Parameters
- serviceProvider
- IServiceProvider
SerivceProvider for this item. If null, the navigate functionalitity won't work.
- navigationLogicalView
- Guid
If a file contains error, most likely it can't be opened in default editor view, so we need an alternative view to open it, e.g. CodeView. This parameter specifies which view should be used when opening the item during navigation (double-click in Error List window). The value is the same logical view Guids used in IVsUIShellOpenDocuments methods.
- navigationEditorFactoryId
- Guid
When the specified "navigationLogicalView" is not the view of the already opened editor, the item needs to be closed and reopened. This editor factory guid specifies which editor should be used when the file is re-opened.
- serializationMessage
- SerializationMessage
The SerializationMessage to be translated.