Compartir a través de


IExceptionConvertor.TryConvertFromServiceException Método

Definición

Sobrecargas

TryConvertFromServiceException(ServiceException, Exception)

Convierte la excepción de servicio en la excepción de usuario.

TryConvertFromServiceException(ServiceException, Exception, Exception)

Convierte la excepción de servicio en la excepción de usuario.

TryConvertFromServiceException(ServiceException, Exception[], Exception)

Convierte la excepción de servicio en la excepción de usuario.

TryConvertFromServiceException(ServiceException, Exception)

Convierte la excepción de servicio en la excepción de usuario.

public bool TryConvertFromServiceException (Microsoft.ServiceFabric.Services.Communication.ServiceException serviceException, out Exception actualException);
abstract member TryConvertFromServiceException : Microsoft.ServiceFabric.Services.Communication.ServiceException * Exception -> bool
Public Function TryConvertFromServiceException (serviceException As ServiceException, ByRef actualException As Exception) As Boolean

Parámetros

serviceException
ServiceException

Excepción de servicio.

actualException
Exception

Excepción de usuario.

Devoluciones

True si se convierte, false en caso contrario.

Se aplica a

TryConvertFromServiceException(ServiceException, Exception, Exception)

Convierte la excepción de servicio en la excepción de usuario.

public bool TryConvertFromServiceException (Microsoft.ServiceFabric.Services.Communication.ServiceException serviceException, Exception innerException, out Exception actualException);
abstract member TryConvertFromServiceException : Microsoft.ServiceFabric.Services.Communication.ServiceException * Exception * Exception -> bool
Public Function TryConvertFromServiceException (serviceException As ServiceException, innerException As Exception, ByRef actualException As Exception) As Boolean

Parámetros

serviceException
ServiceException

Excepción de servicio.

innerException
Exception

Excepción interna

actualException
Exception

Excepción de usuario.

Devoluciones

True si se convierte, false en caso contrario.

Se aplica a

TryConvertFromServiceException(ServiceException, Exception[], Exception)

Convierte la excepción de servicio en la excepción de usuario.

public bool TryConvertFromServiceException (Microsoft.ServiceFabric.Services.Communication.ServiceException serviceException, Exception[] innerExceptions, out Exception actualException);
abstract member TryConvertFromServiceException : Microsoft.ServiceFabric.Services.Communication.ServiceException * Exception[] * Exception -> bool
Public Function TryConvertFromServiceException (serviceException As ServiceException, innerExceptions As Exception(), ByRef actualException As Exception) As Boolean

Parámetros

serviceException
ServiceException

Excepción de servicio.

innerExceptions
Exception[]

Enumeración de la excepción interna.

actualException
Exception

Excepción de usuario.

Devoluciones

True si se convierte, false en caso contrario.

Se aplica a