PrintCommitAttributesException Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse.
Overloads
| Name | Description |
|---|---|
| PrintCommitAttributesException() |
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse. |
| PrintCommitAttributesException(String) |
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse en geeft deze het opgegeven bericht. |
| PrintCommitAttributesException(SerializationInfo, StreamingContext) |
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse met behulp van de opgegeven SerializationInfo en StreamingContext. |
| PrintCommitAttributesException(String, Exception) |
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse met behulp van het opgegeven bericht en de binnenste Exception. |
| PrintCommitAttributesException(Int32, Collection<String>, Collection<String>) |
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse met behulp van de opgegeven foutcode en de verzamelingen geslaagde en mislukte pogingen. |
| PrintCommitAttributesException(Int32, String, Collection<String>, Collection<String>, String) |
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse met behulp van de opgegeven foutcode, bericht en objectnaam, en de verzamelingen geslaagde en mislukte pogingen. |
PrintCommitAttributesException()
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse.
public:
PrintCommitAttributesException();
public PrintCommitAttributesException();
Public Sub New ()
Van toepassing op
PrintCommitAttributesException(String)
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse en geeft deze het opgegeven bericht.
public:
PrintCommitAttributesException(System::String ^ message);
public PrintCommitAttributesException(string message);
new System.Printing.PrintCommitAttributesException : string -> System.Printing.PrintCommitAttributesException
Public Sub New (message As String)
Parameters
- message
- String
Een beschrijving van de foutvoorwaarde.
Van toepassing op
PrintCommitAttributesException(SerializationInfo, StreamingContext)
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse met behulp van de opgegeven SerializationInfo en StreamingContext.
protected:
PrintCommitAttributesException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PrintCommitAttributesException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Printing.PrintCommitAttributesException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Printing.PrintCommitAttributesException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Slaat alle gegevens op die worden gebruikt om het object te serialiseren.
- context
- StreamingContext
Beschrijft de context van de geserialiseerde stroom, inclusief de bron en de bestemming.
Van toepassing op
PrintCommitAttributesException(String, Exception)
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse met behulp van het opgegeven bericht en de binnenste Exception.
public:
PrintCommitAttributesException(System::String ^ message, Exception ^ innerException);
public PrintCommitAttributesException(string message, Exception innerException);
new System.Printing.PrintCommitAttributesException : string * Exception -> System.Printing.PrintCommitAttributesException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
Een beschrijving van de foutvoorwaarde.
- innerException
- Exception
De onderliggende voorwaarde die de PrintCommitAttributesException.
Van toepassing op
PrintCommitAttributesException(Int32, Collection<String>, Collection<String>)
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse met behulp van de opgegeven foutcode en de verzamelingen geslaagde en mislukte pogingen.
public:
PrintCommitAttributesException(int errorCode, System::Collections::ObjectModel::Collection<System::String ^> ^ attributesSuccessList, System::Collections::ObjectModel::Collection<System::String ^> ^ attributesFailList);
public PrintCommitAttributesException(int errorCode, System.Collections.ObjectModel.Collection<string> attributesSuccessList, System.Collections.ObjectModel.Collection<string> attributesFailList);
new System.Printing.PrintCommitAttributesException : int * System.Collections.ObjectModel.Collection<string> * System.Collections.ObjectModel.Collection<string> -> System.Printing.PrintCommitAttributesException
Public Sub New (errorCode As Integer, attributesSuccessList As Collection(Of String), attributesFailList As Collection(Of String))
Parameters
- errorCode
- Int32
Een Int32 waarde die wordt geïnterpreteerd als een HRESULT, een gecodeerde numerieke waarde die is toegewezen aan een specifieke uitzondering.
- attributesSuccessList
- Collection<String>
Een verzameling tekenreeksen die de kenmerken noemen die uw programma heeft doorgevoerd.
- attributesFailList
- Collection<String>
Een verzameling tekenreeksen met de naam van de kenmerken die uw programma niet kon doorvoeren.
Van toepassing op
PrintCommitAttributesException(Int32, String, Collection<String>, Collection<String>, String)
Initialiseert een nieuw exemplaar van de PrintCommitAttributesException klasse met behulp van de opgegeven foutcode, bericht en objectnaam, en de verzamelingen geslaagde en mislukte pogingen.
public:
PrintCommitAttributesException(int errorCode, System::String ^ message, System::Collections::ObjectModel::Collection<System::String ^> ^ attributesSuccessList, System::Collections::ObjectModel::Collection<System::String ^> ^ attributesFailList, System::String ^ objectName);
public PrintCommitAttributesException(int errorCode, string message, System.Collections.ObjectModel.Collection<string> attributesSuccessList, System.Collections.ObjectModel.Collection<string> attributesFailList, string objectName);
new System.Printing.PrintCommitAttributesException : int * string * System.Collections.ObjectModel.Collection<string> * System.Collections.ObjectModel.Collection<string> * string -> System.Printing.PrintCommitAttributesException
Public Sub New (errorCode As Integer, message As String, attributesSuccessList As Collection(Of String), attributesFailList As Collection(Of String), objectName As String)
Parameters
- errorCode
- Int32
Een Int32 waarde die wordt geïnterpreteerd als een HRESULT, een gecodeerde numerieke waarde die is toegewezen aan een specifieke uitzondering.
- message
- String
Een beschrijving van de foutvoorwaarde.
- attributesSuccessList
- Collection<String>
Een verzameling tekenreeksen die de kenmerken noemen die uw programma heeft doorgevoerd.
- attributesFailList
- Collection<String>
Een verzameling tekenreeksen met de naam van de kenmerken die uw programma niet kon doorvoeren.
- objectName
- String
Het object dat de uitzondering heeft gegenereerd.