Header menu logo Deedle

'T tryval Type

A type alias for the TryValue<T> type. The type alias can be used to make F# type declarations that explcitly handle exceptions more succinct.

Instance members

Instance member Description

this.Exception

Full Usage: this.Exception

Returns: exn

Returns the exception captured by this value. When `HasValue = true`, accessing the property throws `InvalidOperationException`.

Returns: exn

this.HasValue

Full Usage: this.HasValue

Returns: bool

Returns `true` when the `TryValue` object represents a successfully calculated value

Returns: bool

this.IsError

Full Usage: this.IsError

Returns: bool
Returns: bool

this.IsSuccess

Full Usage: this.IsSuccess

Returns: bool
Returns: bool

this.Value

Full Usage: this.Value

Returns: 'T

Returns the value of `TryValue` when the value is present; otherwise, throws an exception that was captured

Returns: 'T

Type something to start searching.