XpsWriterException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XpsWriterException class.
Overloads
XpsWriterException() |
Initializes a new instance of the XpsWriterException class. |
XpsWriterException(String) |
Initializes a new instance of the XpsWriterException class that provides a specific error condition. |
XpsWriterException(SerializationInfo, StreamingContext) |
Initializes a new instance of the XpsWriterException class that provides specific SerializationInfo and StreamingContext. This constructor is protected. |
XpsWriterException(String, Exception) |
Initializes a new instance of the XpsWriterException class that provides a specific error condition and includes the cause of the exception. |
XpsWriterException()
Initializes a new instance of the XpsWriterException class.
public:
XpsWriterException();
public XpsWriterException ();
Public Sub New ()
Applies to
XpsWriterException(String)
Initializes a new instance of the XpsWriterException class that provides a specific error condition.
public:
XpsWriterException(System::String ^ message);
public XpsWriterException (string message);
new System.Windows.Xps.XpsWriterException : string -> System.Windows.Xps.XpsWriterException
Public Sub New (message As String)
Parameters
Applies to
XpsWriterException(SerializationInfo, StreamingContext)
Initializes a new instance of the XpsWriterException class that provides specific SerializationInfo and StreamingContext. This constructor is protected.
protected:
XpsWriterException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XpsWriterException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Xps.XpsWriterException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Xps.XpsWriterException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The data that is required to serialize or deserialize an object.
- context
- StreamingContext
The context, which includes source and destination, of the serialized stream.
Applies to
XpsWriterException(String, Exception)
Initializes a new instance of the XpsWriterException class that provides a specific error condition and includes the cause of the exception.
public:
XpsWriterException(System::String ^ message, Exception ^ innerException);
public XpsWriterException (string message, Exception innerException);
new System.Windows.Xps.XpsWriterException : string * Exception -> System.Windows.Xps.XpsWriterException
Public Sub New (message As String, innerException As Exception)
Parameters
- innerException
- Exception
The underlying error that caused the XpsWriterException.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기