FaultFormatter.CreateFaultException Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
CreateFaultException(MessageFault, String) | |
CreateFaultException(MessageFault, String, Object, Type, XmlDictionaryReader) |
CreateFaultException(MessageFault, String)
- Исходный код:
- FaultFormatter.cs
- Исходный код:
- FaultFormatter.cs
- Исходный код:
- FaultFormatter.cs
protected:
virtual System::ServiceModel::FaultException ^ CreateFaultException(System::ServiceModel::Channels::MessageFault ^ messageFault, System::String ^ action);
protected virtual System.ServiceModel.FaultException CreateFaultException (System.ServiceModel.Channels.MessageFault messageFault, string action);
abstract member CreateFaultException : System.ServiceModel.Channels.MessageFault * string -> System.ServiceModel.FaultException
override this.CreateFaultException : System.ServiceModel.Channels.MessageFault * string -> System.ServiceModel.FaultException
Protected Overridable Function CreateFaultException (messageFault As MessageFault, action As String) As FaultException
Параметры
- messageFault
- MessageFault
- action
- String
Возвращаемое значение
Применяется к
CreateFaultException(MessageFault, String, Object, Type, XmlDictionaryReader)
- Исходный код:
- FaultFormatter.cs
- Исходный код:
- FaultFormatter.cs
- Исходный код:
- FaultFormatter.cs
protected:
System::ServiceModel::FaultException ^ CreateFaultException(System::ServiceModel::Channels::MessageFault ^ messageFault, System::String ^ action, System::Object ^ detailObj, Type ^ detailType, System::Xml::XmlDictionaryReader ^ detailReader);
protected System.ServiceModel.FaultException CreateFaultException (System.ServiceModel.Channels.MessageFault messageFault, string action, object detailObj, Type detailType, System.Xml.XmlDictionaryReader detailReader);
member this.CreateFaultException : System.ServiceModel.Channels.MessageFault * string * obj * Type * System.Xml.XmlDictionaryReader -> System.ServiceModel.FaultException
Protected Function CreateFaultException (messageFault As MessageFault, action As String, detailObj As Object, detailType As Type, detailReader As XmlDictionaryReader) As FaultException
Параметры
- messageFault
- MessageFault
- action
- String
- detailObj
- Object
- detailType
- Type
- detailReader
- XmlDictionaryReader
Возвращаемое значение
Применяется к
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по