public sealed class ClientContextReference documentation and code samples for the Google.Cloud.Spanner.Data class ClientContext.
Container for various pieces of client-owned context attached to a request.
Namespace
Google.Cloud.Spanner.DataAssembly
Google.Cloud.Spanner.Data.dll
Properties
ClientContextModifier
public Action<RequestOptions.Types.ClientContext> ClientContextModifier { get; set; }Optional action to perform after preparing the request options. If this property is non-null, the underlying Google.Cloud.Spanner.V1.RequestOptions.Types.ClientContext used for a request will be passed to the delegate before the request is executed. This allows for fine-grained modifications which aren't otherwise directly supported by the properties in this options type.
| Property Value | |
|---|---|
| Type | Description |
ActionGoogle.Cloud.Spanner.V1.RequestOptionsGoogle.Cloud.Spanner.V1.RequestOptions.TypesGoogle.Cloud.Spanner.V1.RequestOptions.Types.ClientContext |
|
Prefer the properties on this type over this modifier to prepare the request. Only use this modifier to configure aspects for which there are no properties available. This modifier is applied to the request after all properties on this type have been applied. The delegate is only called once per operation, even if the request is automatically retried.