Skip to content

DeviceStreamException

Class in Oadm.Sdk.Devices · Oadm.Sdk.dll

A device stream failure with a message the UI can show.

public sealed class DeviceStreamException : Exception

Inherits Exception

DeviceStreamException()

An error of a device stream (DeviceStreamError.Protocol).

DeviceStreamException(string message)

An error of a device stream with its message (DeviceStreamError.Protocol).

DeviceStreamException(string message, Exception inner)

An error of a device stream with its message and cause (DeviceStreamError.Protocol).

DeviceStreamException(DeviceStreamError error, string message, Exception? inner = null)

An error of a device stream of the given kind; the message is the text for the user.

DeviceStreamError Error { get; }

What went wrong: whether a retry can help (Unreachable) or not (Unauthorized, NotSupported).