HomeGroupException Constructor (String, Exception, ReturnClass)
[Microsoft.WindowsServerSolutions.HomeGroup.HomeGroupException(String,Exception,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, the specified reference to the inner exception that is the cause of this exception, and the specified error code.
Namespace: Microsoft.WindowsServerSolutions.HomeGroup
Assembly: WSSHomeGroupObjectModel (in WSSHomeGroupObjectModel.dll)
Usage
'Usage
Dim Message As String
Dim InnerException As Exception
Dim ErrorCode As ReturnClass
Dim instance As New HomeGroupException(Message, InnerException, ErrorCode)
Syntax
'Declaration
Public Sub New ( _
Message As String, _
InnerException As Exception, _
ErrorCode As ReturnClass _
)
public HomeGroupException (
string Message,
Exception InnerException,
ReturnClass ErrorCode
)
public:
HomeGroupException (
String^ Message,
Exception^ InnerException,
ReturnClass^ ErrorCode
)
public HomeGroupException (
String Message,
Exception InnerException,
ReturnClass ErrorCode
)
public function HomeGroupException (
Message : String,
InnerException : Exception,
ErrorCode : ReturnClass
)
Parameters
- Message
The error message that explains the reason for the exception.
- InnerException
The inner exception that is the cause of this 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.