HomeGroupException Constructor (String, ReturnClass)

[Microsoft.WindowsServerSolutions.HomeGroup.HomeGroupException(String,ReturnClass) 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 the specified error code.

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

Usage

'Usage
Dim Message As String
Dim ErrorCode As ReturnClass

Dim instance As New HomeGroupException(Message, ErrorCode)

Syntax

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

Parameters

  • Message
    The error message that explains the reason for the exception.
  • ErrorCode
    The error code for the 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.