Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar Namespace / GibraltarPacketVersionException Class / GibraltarPacketVersionException Constructor / GibraltarPacketVersionException Constructor(Int32)
The unexpected version encountered

In This Topic
    GibraltarPacketVersionException Constructor(Int32)
    In This Topic
    Initializes a new instance of the GibraltarPacketVersionException class to a standard error message string given a supplied version parameter.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal version As Integer _
    )
    public GibraltarPacketVersionException( 
       int version
    )

    Parameters

    version
    The unexpected version encountered
    Remarks
    This is the preferred way to initialize this exception type, because this constructor automatically formats the message string to be "Unexpected version: {0}", where {0} is replaced with the provided version argument.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also