'Declaration Public Overloads Shared Function ToString(Of T)( _ ByVal list As IEnumerable(Of T), _ ByVal formatter As Xceed.SSH.Core.SSHException.ToStringFormatter(Of T) _ ) As String
'Usage Dim list As IEnumerable(Of T) Dim formatter As Xceed.SSH.Core.SSHException.ToStringFormatter(Of T) Dim value As String value = SSHException.ToString(Of T)(list, formatter)
public static string ToString<T>( IEnumerable<T> list, Xceed.SSH.Core.SSHException.ToStringFormatter<T> formatter )
Parameters
- list
- The list to use to create the string representation of the current exception.
- formatter
- The delegate used to format the members of list.
Type Parameters
- T
- The type of the members of list.
Return Value
A string representation of the current exception.