public static ComMetadata GetComMetadata(
string progId,
ILogger logger
)Public Shared Function GetComMetadata (
progId As String,
logger As ILogger
) As ComMetadataNote: This method is only available in projects targeting .NET 8 and later.
| InvalidValueException | Thrown if the progID parameter is null or Empty. |
| InvalidOperationException | Thrown if this method is called in a project targeting a framework earlier than .NET 8. |