BuildContainerPath.IsValidPath 方法

如果它是有效的,验证服务器放置路径并教规本地化它。 在路径无效时,输出值错误设置。

命名空间:  Microsoft.TeamFoundation.Build.Common
程序集:  Microsoft.TeamFoundation.Build.Common(在 Microsoft.TeamFoundation.Build.Common.dll 中)

语法

声明
Public Shared Function IsValidPath ( _
    ByRef path As String, _
    <OutAttribute> ByRef error As String _
) As Boolean
public static bool IsValidPath(
    ref string path,
    out string error
)

参数

  • error
    类型:System.String%
    如果有,错误导致方法失败

返回值

类型:System.Boolean
如果路径否则,是有效的错误,则为 true

.NET Framework 安全性

请参阅

参考

BuildContainerPath 类

Microsoft.TeamFoundation.Build.Common 命名空间