Class ServiceCallContextBuilder
Service call context builder.
Inherited Members
Namespace: Apache.Ignite.Core.Services
Assembly: Apache.Ignite.Core.dll
Syntax
public sealed class ServiceCallContextBuilder
Methods
Build()
Create context.
Declaration
public IServiceCallContext Build()
Returns
| Type | Description |
|---|---|
| IServiceCallContext | Service call context. |
Set(string, byte[])
Set binary attribute.
Note: it is recommended to pass a copy of the array if the original can be changed later.Declaration
public ServiceCallContextBuilder Set(string name, byte[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Attribute name. |
| byte[] | value | Attribute value. |
Returns
| Type | Description |
|---|---|
| ServiceCallContextBuilder | This for chaining. |
Set(string, string)
Set string attribute.
Declaration
public ServiceCallContextBuilder Set(string name, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Attribute name. |
| string | value | Attribute value. |
Returns
| Type | Description |
|---|---|
| ServiceCallContextBuilder | This for chaining. |