TeamFoundationSigningService.Validate 方法 (TeamFoundationRequestContext, Guid, String, array<Byte[]%)

验证给定的签名消息。 如果消息成功通过身份验证,则返回true。

原始消息负载也会返回。

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

语法

声明
Public Function Validate ( _
    requestContext As TeamFoundationRequestContext, _
    identifier As Guid, _
    signedMessage As String, _
    <OutAttribute> ByRef originalMessage As Byte() _
) As Boolean
public bool Validate(
    TeamFoundationRequestContext requestContext,
    Guid identifier,
    string signedMessage,
    out byte[] originalMessage
)

参数

  • identifier
    类型:System.Guid
    设置键的标识符使用
  • originalMessage
    类型:array<System.Byte[]%
    提供给符号的原始消息()

返回值

类型:System.Boolean
True,如果消息成功验证

.NET Framework 安全性

请参见

参考

TeamFoundationSigningService 类

Validate 重载

Microsoft.TeamFoundation.Framework.Server 命名空间