# ProtocolTransportException Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.protocoltransportexception/)

## ToString {#tostring-e7866846}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.protocoltransportexception/methods/tostring-e7866846/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.EventSourcing/LogConsistency/ILogConsistencyProtocolServices.cs#L77-L80)

```csharp
public override string ToString()
```

Creates and returns a string representation of the current exception.

### Returns

A string representation of the current exception.
