System.Linq.Expressions.Strings.TryNotSupportedForValueTypeInstances C# (CSharp) Метод

TryNotSupportedForValueTypeInstances() статический приватный Метод

A string like "TryExpression is not supported as a child expression when accessing a member on type '{0}' because it is a value type. Construct the tree so the TryExpression is not nested inside of this expression."
static private TryNotSupportedForValueTypeInstances ( object p0 ) : string
p0 object
Результат string
        internal static string TryNotSupportedForValueTypeInstances(object p0) => SR.Format(SR.TryNotSupportedForValueTypeInstances, p0);

Usage Example

Пример #1
0
 internal static Exception TryNotSupportedForValueTypeInstances(object p0)
 {
     return(new NotSupportedException(Strings.TryNotSupportedForValueTypeInstances(p0)));
 }
Strings