ExceptionMapper.FromException Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Giriş özel durumlarını bir hataya çevirir.
Aşırı Yüklemeler
FromException(Exception) |
Giriş özel durumlarını bir hataya çevirir. |
FromException(Exception, String, String) |
Giriş özel durumlarını bir hataya çevirir. |
FromException(Exception)
Giriş özel durumlarını bir hataya çevirir.
public:
virtual System::ServiceModel::FaultException ^ FromException(Exception ^ ex);
public virtual System.ServiceModel.FaultException FromException (Exception ex);
abstract member FromException : Exception -> System.ServiceModel.FaultException
override this.FromException : Exception -> System.ServiceModel.FaultException
Public Overridable Function FromException (ex As Exception) As FaultException
Parametreler
- ex
- Exception
Hatayla eşlenen özel durum.
Döndürülenler
Giriş özel durumuna karşılık gelen hata.
Şunlara uygulanır
FromException(Exception, String, String)
Giriş özel durumlarını bir hataya çevirir.
public:
virtual System::ServiceModel::FaultException ^ FromException(Exception ^ ex, System::String ^ soapNamespace, System::String ^ trustNamespace);
public virtual System.ServiceModel.FaultException FromException (Exception ex, string soapNamespace, string trustNamespace);
abstract member FromException : Exception * string * string -> System.ServiceModel.FaultException
override this.FromException : Exception * string * string -> System.ServiceModel.FaultException
Public Overridable Function FromException (ex As Exception, soapNamespace As String, trustNamespace As String) As FaultException
Parametreler
- ex
- Exception
Hatayla eşlenen özel durum.
- soapNamespace
- String
Eşlenen hata oluşturmada kullanılacak SOAP Ad Alanı.
- trustNamespace
- String
Eşlenen WS-Trust oluşturmada kullanılacak ad alanı.
Döndürülenler
Giriş özel durumuna karşılık gelen hata.