X500DistinguishedNameBuilder.AddEmailAddress(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an email address attribute.
public:
void AddEmailAddress(System::String ^ emailAddress);
public void AddEmailAddress (string emailAddress);
member this.AddEmailAddress : string -> unit
Public Sub AddEmailAddress (emailAddress As String)
Parameters
- emailAddress
- String
The email address to add.
Exceptions
emailAddress
is null
.
emailAddress
is empty or exceeds 255 characters.
Remarks
This encodes an attribute with the OID 1.2.840.113549.1.9.1 as an IA5String.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.