# ProtocolTransportException Constructors

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

## ProtocolTransportException {#constructor-e4d68899}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.protocoltransportexception/constructors/constructor-e4d68899/)

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

```csharp
public ProtocolTransportException()
```

## ProtocolTransportException(string) {#constructor-string-5f4d60e5}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.protocoltransportexception/constructors/constructor-string-5f4d60e5/)

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

```csharp
public ProtocolTransportException(string msg)
```

### Parameters

- `msg` (`string`)

## ProtocolTransportException(string, Exception) {#constructor-string-system-exception-39c6312c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.protocoltransportexception/constructors/constructor-string-system-exception-39c6312c/)

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

```csharp
public ProtocolTransportException(string msg, Exception exc)
```

### Parameters

- `msg` (`string`)
- `exc` (`Exception`)
