PrincipalException(SerializationInfo, StreamingContext) 构造函数

定义

使用提供的序列化信息和流上下文初始化 PrincipalException 类的新实例。Initializes a new instance of the PrincipalException class using the provided serialization information and streaming context.

protected:
 PrincipalException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PrincipalException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.AccountManagement.PrincipalException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.PrincipalException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

错误信息。The error information.

context
StreamingContext

流上下文。The streaming context.

适用于