8 references to Format
System.DirectoryServices.Protocols (8)
System\DirectoryServices\Protocols\common\DirectoryAttribute.cs (2)
356
throw new ArgumentException(SR.
Format
(SR.InvalidValueType, nameof(DirectoryAttribute)), nameof(value));
435
throw new ArgumentException(SR.
Format
(SR.InvalidValueType, nameof(DirectoryAttributeModification)), nameof(value));
System\DirectoryServices\Protocols\common\DirectoryControl.cs (1)
1219
throw new ArgumentException(SR.
Format
(SR.InvalidValueType, nameof(DirectoryControl)), nameof(value));
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (3)
391
throw new ArgumentException(SR.
Format
(SR.NotReturnedAsyncResult, nameof(asyncResult)));
433
throw new ArgumentException(SR.
Format
(SR.NotReturnedAsyncResult, nameof(asyncResult)));
455
throw new ArgumentException(SR.
Format
(SR.NotReturnedAsyncResult, nameof(asyncResult)));
System\DirectoryServices\Protocols\ldap\LdapException.cs (1)
109
: base(SR.
Format
(SR.DefaultLdapError, LdapErrorMappings.NormalizeResultCode(errorCode)))
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.Linux.cs (1)
37
throw new DirectoryNotFoundException(SR.
Format
(SR.DirectoryNotFound, value));