Struct ServiceHandle
Namespace: DotBoxD.Services.Protocol
Assembly: DotBoxD.Services.dll
Wire payload returned by a service method whose declared return type is itself
a [RpcService] interface. Carries the opaque instance identifier the
server allocated when the root method ran; the client wraps the handle in a
generated sub-service proxy that uses the identifier on every subsequent call.
public struct ServiceHandleInherited Members
Section titled “Inherited Members”object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Constructors
Section titled “Constructors”ServiceHandle()
Section titled “ ServiceHandle()”Initializes an empty handle. Required so the string field initializers run for
new ServiceHandle() and during deserialization.
public ServiceHandle()Properties
Section titled “Properties”InstanceId
Section titled “ InstanceId”Opaque, per-connection token issued by the server’s instance registry. Treat as a black box on the client; it is not a security boundary on its own (combined with per-connection scoping, the registry does not let one connection reach another’s instances).
public string InstanceId { readonly get; set; }Property Value
Section titled “Property Value”ServiceName
Section titled “ ServiceName”The RPC service name of the sub-service (e.g. “ISubService”).
public string ServiceName { readonly get; set; }