Reads an informationCard from a given XmlReader.
命名空间: Microsoft.IdentityModel.Protocols.WSIdentity
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)
用法
Dim instance As InformationCardSerializer Dim reader As XmlReader Dim returnValue As InformationCard returnValue = instance.ReadCard(reader)
语法
声明
Public Function ReadCard ( _
reader As XmlReader _
) As InformationCard
public InformationCard ReadCard (
XmlReader reader
)
public:
InformationCard^ ReadCard (
XmlReader^ reader
)
public InformationCard ReadCard (
XmlReader reader
)
public function ReadCard (
reader : XmlReader
) : InformationCard
参数
- reader
XmlReader from which the InformationCard is read.
返回值
An InformationCard instance.
异常
| 异常类型 | 条件 |
|---|---|
| ArgumentNullException | The input parameter is null. |
线程安全
此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。
平台
开发平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
请参见
参考
InformationCardSerializer 类
InformationCardSerializer 成员
Microsoft.IdentityModel.Protocols.WSIdentity 命名空间