ModelingProjectExtensions.GetLoadMessages Method (IModelingProjectReader)
Gets any error messages generated when the IModelingProjectReader was used to read a model.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetLoadMessages ( _
modelingProject As IModelingProjectReader _
) As LoadMessages
public static LoadMessages GetLoadMessages(
this IModelingProjectReader modelingProject
)
[ExtensionAttribute]
public:
static LoadMessages GetLoadMessages(
IModelingProjectReader^ modelingProject
)
static member GetLoadMessages :
modelingProject:IModelingProjectReader -> LoadMessages
public static function GetLoadMessages(
modelingProject : IModelingProjectReader
) : LoadMessages
Parameters
- modelingProject
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.IModelingProjectReader
Return Value
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.LoadMessages
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IModelingProjectReader. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ModelingProjectExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility Namespace