Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PrincipalExistsException Constructor (String)

Instantiates a new instance of the PrincipalExistsException class with the specified error message.

Namespace:  System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

public PrincipalExistsException(
	string message
)

Parameters

message
Type: System.String

The text of the error message.

The PrincipalExistsException instance is initialized with the Message property set to the value of message. If message is null, the Message property is initialized to a system-supplied message.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft