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
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
请求上下文。
- identifier
类型:System.Guid
设置键的标识符使用
- signedMessage
类型:System.String
由服务)签名消息
- originalMessage
类型:array<System.Byte[]%
提供给符号的原始消息()
返回值
类型:System.Boolean
True,如果消息成功验证
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。