CompatibilityDataProtector.RunWithSuppressedPrimaryPurpose Método

Definición

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

callback
Func<Object,Byte[],Byte[]>
state
Object
input
Byte[]

Devoluciones

Byte[]

Se aplica a