PersistenceException 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 PersistenceException class.
Overloads
PersistenceException() |
Initializes a new instance of the PersistenceException class. |
PersistenceException(String) |
Initializes a new instance of the PersistenceException class. |
PersistenceException(SerializationInfo, StreamingContext) |
Initializes a new instance of the PersistenceException class. |
PersistenceException(String, Exception) |
Initializes a new instance of the PersistenceException class. |
PersistenceException()
Initializes a new instance of the PersistenceException class.
public:
PersistenceException();
public PersistenceException ();
Public Sub New ()
Applies to
PersistenceException(String)
Initializes a new instance of the PersistenceException class.
public:
PersistenceException(System::String ^ message);
public PersistenceException (string message);
new System.ServiceModel.Persistence.PersistenceException : string -> System.ServiceModel.Persistence.PersistenceException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
PersistenceException(SerializationInfo, StreamingContext)
Initializes a new instance of the PersistenceException class.
protected:
PersistenceException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PersistenceException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Persistence.PersistenceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Persistence.PersistenceException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Applies to
PersistenceException(String, Exception)
Initializes a new instance of the PersistenceException class.
public:
PersistenceException(System::String ^ message, Exception ^ innerException);
public PersistenceException (string message, Exception innerException);
new System.ServiceModel.Persistence.PersistenceException : string * Exception -> System.ServiceModel.Persistence.PersistenceException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The Exception that caused the PersistenceException.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기