Class MetalTimeoutException
- Namespace
- DotCompute.Backends.Metal.Execution
- Assembly
- DotCompute.Backends.Metal.dll
Exception thrown when Metal operation times out
[Serializable]
public class MetalTimeoutException : MetalException, ISerializable
- Inheritance
-
MetalTimeoutException
- Implements
- Inherited Members
Constructors
MetalTimeoutException()
public MetalTimeoutException()
MetalTimeoutException(SerializationInfo, StreamingContext)
protected MetalTimeoutException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
MetalTimeoutException(string)
public MetalTimeoutException(string message)
Parameters
messagestring
MetalTimeoutException(string, Exception)
public MetalTimeoutException(string message, Exception innerException)
Parameters
MetalTimeoutException(string, TimeSpan)
public MetalTimeoutException(string operationId, TimeSpan timeout)
Parameters
Properties
OperationId
public string OperationId { get; }
Property Value
Timeout
public TimeSpan Timeout { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
infoparameter is a null reference (Nothingin Visual Basic).