CompatibilityDataProtector.RunWithSuppressedPrimaryPurpose Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Invoca un delegado en el que las llamadas a Microsoft.AspNetCore.DataProtection.SystemWeb.CompatibilityDataProtector.ProviderProtect(System.Byte[]) y Microsoft.AspNetCore.DataProtection.SystemWeb.CompatibilityDataProtector.ProviderUnprotect(System.Byte[]) omiten el propósito principal y, en su lugar, usan solo los subpropósitos.
public:
static cli::array <System::Byte> ^ RunWithSuppressedPrimaryPurpose(Func<System::Object ^, cli::array <System::Byte> ^, cli::array <System::Byte> ^> ^ callback, System::Object ^ state, cli::array <System::Byte> ^ input);
public static byte[] RunWithSuppressedPrimaryPurpose (Func<object,byte[],byte[]> callback, object state, byte[] input);
static member RunWithSuppressedPrimaryPurpose : Func<obj, byte[], byte[]> * obj * byte[] -> byte[]
Public Shared Function RunWithSuppressedPrimaryPurpose (callback As Func(Of Object, Byte(), Byte()), state As Object, input As Byte()) As Byte()
Parámetros
- state
- Object
- input
- Byte[]
Devoluciones
- Byte[]