共用方式為


PolicyFailureInfo.Message Property

Message about the failure for this policy.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property Message As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public string Message { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property String^ Message {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member Message : string with get, set
function get Message () : String 
function set Message (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

PolicyFailureInfo Class

Microsoft.TeamFoundation.VersionControl.Server Namespace