Class ServiceCallContextBuilder
Service call context builder.
Inheritance
System.Object
ServiceCallContextBuilder
Namespace: Apache.Ignite.Core.Services
Assembly: Apache.Ignite.Core.dll
Syntax
public class ServiceCallContextBuilder : object
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 |
---|---|---|
System.String | name | Attribute name. |
System.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 |
---|---|---|
System.String | name | Attribute name. |
System.String | value | Attribute value. |
Returns
Type | Description |
---|---|
ServiceCallContextBuilder | This for chaining. |