Class TransactionReplaceOptionsBuilder
Inherited Members
Namespace: Couchbase.Client.Transactions.Config
Assembly: Couchbase.NetClient.dll
Syntax
public class TransactionReplaceOptionsBuilder
Fields
| Edit this page View SourceDefault
This creates a new builder with the default values (if any) for this builder.
Declaration
public static TransactionReplaceOptionsBuilder Default
Field Value
| Type | Description |
|---|---|
| TransactionReplaceOptionsBuilder |
Methods
| Edit this page View SourceBuild()
Builds a new independent instance of TransactionReplaceOptions, based on the current state of this builder. Note that if you call Build multiple times, you will have multiple independent instances of the options.
Declaration
public TransactionReplaceOptions Build()
Returns
| Type | Description |
|---|---|
| TransactionReplaceOptions | A TransactionReplaceOptions instance. |
Create()
Creates a new instance of TransactionReplaceOptionsBuilder.
Declaration
public static TransactionReplaceOptionsBuilder Create()
Returns
| Type | Description |
|---|---|
| TransactionReplaceOptionsBuilder |
Span(IRequestSpan)
Specifies a parent span for any tracing spans this operation creates.
Declaration
public TransactionReplaceOptionsBuilder Span(IRequestSpan span)
Parameters
| Type | Name | Description |
|---|---|---|
| IRequestSpan | span | The desired parent tracing span. |
Returns
| Type | Description |
|---|---|
| TransactionReplaceOptionsBuilder |
Transcoder(ITypeTranscoder)
Specify a specific Transcoder to use when performing the transactional GET. If none is specified, we default to JsonTranscoder
Declaration
public TransactionReplaceOptionsBuilder Transcoder(ITypeTranscoder transcoder)
Parameters
| Type | Name | Description |
|---|---|---|
| ITypeTranscoder | transcoder |
Returns
| Type | Description |
|---|---|
| TransactionReplaceOptionsBuilder |