System.Data.Common.ADP.MismatchedAsyncResult C# (CSharp) Méthode

MismatchedAsyncResult() static private méthode

static private MismatchedAsyncResult ( string expectedMethod, string gotMethod ) : Exception
expectedMethod string
gotMethod string
Résultat System.Exception
        static internal Exception MismatchedAsyncResult(string expectedMethod, string gotMethod)
        {
            return InvalidOperation(Res.GetString(Res.ADP_MismatchedAsyncResult, expectedMethod, gotMethod));
        }
ADP