HomeGroupException Constructor (String, Exception)

[Microsoft.WindowsServerSolutions.HomeGroup.HomeGroupException(String,Exception) is no longer available for use as of Windows Server 2012 Essentials.] Initializes a new instance of the HomeGroupException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Namespace: Microsoft.WindowsServerSolutions.HomeGroup
Assembly: WSSHomeGroupObjectModel (in WSSHomeGroupObjectModel.dll)

Usage

'Usage
Dim Message As String
Dim InnerException As Exception

Dim instance As New HomeGroupException(Message, InnerException)

Syntax

'Declaration
Public Sub New ( _
    Message As String, _
    InnerException As Exception _
)
public HomeGroupException (
    string Message,
    Exception InnerException
)
public:
HomeGroupException (
    String^ Message, 
    Exception^ InnerException
)
public HomeGroupException (
    String Message, 
    Exception InnerException
)
public function HomeGroupException (
    Message : String, 
    InnerException : Exception
)

Parameters

  • Message
    The error message that explains the reason for the exception.
  • InnerException
    The inner exception that is the cause of this exception.

Platforms

Development Platforms

Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64

See Also

Reference

HomeGroupException Class
HomeGroupException Members
Microsoft.WindowsServerSolutions.HomeGroup Namespace

Copyright © 2012 by Microsoft Corporation. All rights reserved.