ServiceException ServiceException ServiceException Class

Definition

Provides an information about an exception from the service. This exception is thrown when the actual exception from the service cannot be serialized for transferring to client.

public class ServiceException : Exception
type ServiceException = class
    inherit Exception
Public Class ServiceException
Inherits Exception
Inheritance
ServiceExceptionServiceExceptionServiceException

Constructors

ServiceException() ServiceException() ServiceException()

Initializes a new instance of the ServiceException class.

ServiceException(String, String) ServiceException(String, String) ServiceException(String, String)

Initializes a new instance of the ServiceException class with appropriate message.

Properties

ActualExceptionType ActualExceptionType ActualExceptionType

Gets the ActualExceptionType is the type of actual exception thrown.

Extension Methods

CheckIotHubErrorCode(Exception, ErrorCode[]) CheckIotHubErrorCode(Exception, ErrorCode[]) CheckIotHubErrorCode(Exception, ErrorCode[])
DisablePrepareForRethrow(Exception) DisablePrepareForRethrow(Exception) DisablePrepareForRethrow(Exception)
GetReferenceCode(Exception) GetReferenceCode(Exception) GetReferenceCode(Exception)
IsFatal(Exception) IsFatal(Exception) IsFatal(Exception)
PrepareForRethrow(Exception) PrepareForRethrow(Exception) PrepareForRethrow(Exception)
ToStringSlim(Exception) ToStringSlim(Exception) ToStringSlim(Exception)
Unwind(Exception) Unwind(Exception) Unwind(Exception)
Unwind(Exception, Type[]) Unwind(Exception, Type[]) Unwind(Exception, Type[])
Unwind<TException>(Exception) Unwind<TException>(Exception) Unwind<TException>(Exception)
IsWrappedExceptionTransient(Exception) IsWrappedExceptionTransient(Exception) IsWrappedExceptionTransient(Exception)
FindInnerException<T>(Exception) FindInnerException<T>(Exception) FindInnerException<T>(Exception)

Applies to