共用方式為


MetadataException.HasExplicitMessage Property

Gets a value that indicates whether the exception has an explicit message.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property HasExplicitMessage As Boolean
    Get
'Usage
Dim instance As MetadataException
Dim value As Boolean

value = instance.HasExplicitMessage
public bool HasExplicitMessage { get; }

Property Value

Type: System.Boolean
true if the exception has an explicit message, otherwise, false.

See Also

Reference

MetadataException Class

MetadataException Members

Microsoft.SharePoint.BusinessData.Administration Namespace