# INexusOperationTokenFormat

Package: [Microsoft.Orleans.Durable.Http](/orleans/docs/api/csharp/microsoft.orleans.durable.http/) 10.0.0-alpha.1

```csharp
public interface INexusOperationTokenFormat
```

Formats and reads Nexus operation tokens, which name an operation of a Nexus service.

## Remarks

A Nexus caller cancels an operation by its token, so the token carries the operation's identifier. Register an implementation in the service collection to replace the default, [PlainTextNexusOperationTokenFormat](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.plaintextnexusoperationtokenformat/), for example with one which signs or encrypts tokens.

## Methods

- [Format(string)](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.inexusoperationtokenformat/methods/format-string-9c1cd6ab/)
- [TryParse(string, string?)](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.inexusoperationtokenformat/methods/tryparse-string-out-string-nullable-bb6b3f5e/)
