Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.golang.org.x.net.context
- Platforms: .NET, .NET Standard 2.0, Island
Background
class method Background: Context
static Context Background()
static func Background() -> Context
func Background() Context
Shared Function Background() As Context
Canceled
class var Canceled: error;
static error Canceled
static var Canceled: error
Canceled error
Shared FIELD Canceled() As error
DeadlineExceeded
class var DeadlineExceeded: error;
static error DeadlineExceeded
static var DeadlineExceeded: error
DeadlineExceeded error
Shared FIELD DeadlineExceeded() As error
TODO
class method TODO: Context
static Context TODO()
static func TODO() -> Context
func TODO() Context
Shared Function TODO() As Context
WithCancel
class method WithCancel(parent: Context): tuple of (ctx: Context, cancel: CancelFunc)
static (Context ctx, CancelFunc cancel) WithCancel(Context parent)
static func WithCancel(_ parent: Context) -> (Context, CancelFunc)
func WithCancel(parent Context) tuple of (|name=ctx| Context, |name=cancel| CancelFunc)
Shared Function WithCancel(parent As Context) As Tuple (Of Context, CancelFunc)
Parameters:
- parent:
WithDeadline
class method WithDeadline(parent: Context; deadline: Time): tuple of (Context, CancelFunc)
static (Context, CancelFunc) WithDeadline(Context parent, Time deadline)
static func WithDeadline(_ parent: Context, _ deadline: Time) -> (Context, CancelFunc)
func WithDeadline(parent Context, deadline Time) tuple of (Context, CancelFunc)
Shared Function WithDeadline(parent As Context, deadline As Time) As Tuple (Of Context, CancelFunc)
Parameters:
- parent:
- deadline:
WithTimeout
class method WithTimeout(parent: Context; timeout: Duration): tuple of (Context, CancelFunc)
static (Context, CancelFunc) WithTimeout(Context parent, Duration timeout)
static func WithTimeout(_ parent: Context, _ timeout: Duration) -> (Context, CancelFunc)
func WithTimeout(parent Context, timeout Duration) tuple of (Context, CancelFunc)
Shared Function WithTimeout(parent As Context, timeout As Duration) As Tuple (Of Context, CancelFunc)
Parameters:
- parent:
- timeout:
WithValue
func WithValue(parent Context, key interface{}, val interface{}) Context
Parameters:
- parent:
- key:
- val:
Canceled
class var Canceled: error;
static error Canceled
static var Canceled: error
Canceled error
Shared FIELD Canceled() As error
DeadlineExceeded
Background
class method Background: Context
static Context Background()
static func Background() -> Context
func Background() Context
Shared Function Background() As Context
TODO
class method TODO: Context
static Context TODO()
static func TODO() -> Context
func TODO() Context
Shared Function TODO() As Context
WithCancel
class method WithCancel(parent: Context): tuple of (ctx: Context, cancel: CancelFunc)
static (Context ctx, CancelFunc cancel) WithCancel(Context parent)
static func WithCancel(_ parent: Context) -> (Context, CancelFunc)
func WithCancel(parent Context) tuple of (|name=ctx| Context, |name=cancel| CancelFunc)
Shared Function WithCancel(parent As Context) As Tuple (Of Context, CancelFunc)
Parameters:
- parent:
WithDeadline
class method WithDeadline(parent: Context; deadline: Time): tuple of (Context, CancelFunc)
static (Context, CancelFunc) WithDeadline(Context parent, Time deadline)
static func WithDeadline(_ parent: Context, _ deadline: Time) -> (Context, CancelFunc)
func WithDeadline(parent Context, deadline Time) tuple of (Context, CancelFunc)
Shared Function WithDeadline(parent As Context, deadline As Time) As Tuple (Of Context, CancelFunc)
Parameters:
- parent:
- deadline:
WithTimeout
class method WithTimeout(parent: Context; timeout: Duration): tuple of (Context, CancelFunc)
static (Context, CancelFunc) WithTimeout(Context parent, Duration timeout)
static func WithTimeout(_ parent: Context, _ timeout: Duration) -> (Context, CancelFunc)
func WithTimeout(parent Context, timeout Duration) tuple of (Context, CancelFunc)
Shared Function WithTimeout(parent As Context, timeout As Duration) As Tuple (Of Context, CancelFunc)
Parameters:
- parent:
- timeout:
WithValue
func WithValue(parent Context, key interface{}, val interface{}) Context
Parameters:
- parent:
- key:
- val: