EnvelopedSignatureReader.TryReadSignature 方法

Reads the signature if the reader is currently positioned at a Signature element.

命名空间: Microsoft.IdentityModel.Protocols.XmlSignature
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim instance As EnvelopedSignatureReader
Dim returnValue As Boolean

returnValue = instance.TryReadSignature

语法

声明
Public Function TryReadSignature As Boolean
public bool TryReadSignature ()
public:
bool TryReadSignature ()
public boolean TryReadSignature ()
public function TryReadSignature () : boolean

返回值

true if the signature was successfully read else false.

备注

Does not move the reader when returning false.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

EnvelopedSignatureReader 类
EnvelopedSignatureReader 成员
Microsoft.IdentityModel.Protocols.XmlSignature 命名空间