Show / Hide Table of Contents

Struct CredentialDialogProperties

Contiene información que permite configurar la creación de un diálogo que solicita credenciales genéricas al usuario.

Implements
IEquatable<CredentialDialogProperties>
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: TheXDS.MCART.Helpers
Assembly: MCART.Windows.dll
Syntax
public readonly record struct CredentialDialogProperties : IEquatable<CredentialDialogProperties>

Constructors

| Edit this page View Source

CredentialDialogProperties(string)

Inicializa una nueva instancia de la estructura CredentialDialogProperties.

Declaration
public CredentialDialogProperties(string message)
Parameters
Type Name Description
string message

Mensaje del diálogo.

| Edit this page View Source

CredentialDialogProperties(string?, string)

Inicializa una nueva instancia de la estructura CredentialDialogProperties.

Declaration
public CredentialDialogProperties(string? title, string message)
Parameters
Type Name Description
string title

Título del diálogo.

string message

Mensaje del diálogo.

| Edit this page View Source

CredentialDialogProperties(string, string?, int)

Inicializa una nueva instancia de la estructura CredentialDialogProperties.

Declaration
public CredentialDialogProperties(string message, string? defaultUser, int lastWin32Error)
Parameters
Type Name Description
string message

Mensaje del diálogo.

string defaultUser

Usuario predeterminado.

int lastWin32Error

Último error de Win32 que ha ocurrido. Permite visualizar mensajes de error genéricos de Windows en el diálogo nativo.

| Edit this page View Source

CredentialDialogProperties(string?, string, string?)

Inicializa una nueva instancia de la estructura CredentialDialogProperties.

Declaration
public CredentialDialogProperties(string? title, string message, string? defaultUser)
Parameters
Type Name Description
string title

Título del diálogo.

string message

Mensaje del diálogo.

string defaultUser

Usuario predeterminado.

| Edit this page View Source

CredentialDialogProperties(string?, string, string?, bool)

Inicializa una nueva instancia de la estructura

Declaration
public CredentialDialogProperties(string? title, string message, string? defaultUser, bool showSave)
Parameters
Type Name Description
string title

Título del diálogo.

string message

Mensaje del diálogo.

string defaultUser

Usuario predeterminado.

bool showSave

Indica si se debe mostrar al usuario la opción de guardar las credenciales provistas.

| Edit this page View Source

CredentialDialogProperties(string?, string, string?, int)

Inicializa una nueva instancia de la estructura CredentialDialogProperties.

Declaration
public CredentialDialogProperties(string? title, string message, string? defaultUser, int lastWin32Error)
Parameters
Type Name Description
string title

Título del diálogo.

string message

Mensaje del diálogo.

string defaultUser

Usuario predeterminado.

int lastWin32Error

Último error de Win32 que ha ocurrido. Permite visualizar mensajes de error genéricos de Windows en el diálogo nativo.

| Edit this page View Source

CredentialDialogProperties(string?, string, string?, int, bool)

Contiene información que permite configurar la creación de un diálogo que solicita credenciales genéricas al usuario.

Declaration
public CredentialDialogProperties(string? Title, string Message, string? DefaultUser, int LastWin32Error, bool ShowSave)
Parameters
Type Name Description
string Title

Título del diálogo.

string Message

Mensaje del diálogo.

string DefaultUser

Usuario predeterminado.

int LastWin32Error

Último error de Win32 que ha ocurrido. Permite visualizar mensajes de error genéricos de Windows en el diálogo nativo.

bool ShowSave

Indica si se debe mostrar al usuario la opción de guardar las credenciales provistas.

See Also
https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-

Properties

| Edit this page View Source

DefaultUser

Usuario predeterminado.

Declaration
public string? DefaultUser { get; init; }
Property Value
Type Description
string
| Edit this page View Source

LastWin32Error

Último error de Win32 que ha ocurrido. Permite visualizar mensajes de error genéricos de Windows en el diálogo nativo.

Declaration
public int LastWin32Error { get; init; }
Property Value
Type Description
int
| Edit this page View Source

Message

Mensaje del diálogo.

Declaration
public string Message { get; init; }
Property Value
Type Description
string
| Edit this page View Source

ShowSave

Indica si se debe mostrar al usuario la opción de guardar las credenciales provistas.

Declaration
public bool ShowSave { get; init; }
Property Value
Type Description
bool
| Edit this page View Source

Title

Título del diálogo.

Declaration
public string? Title { get; init; }
Property Value
Type Description
string

Implements

IEquatable<T>

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)

See Also

https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX