The same rules hold true if the exception is thrown from a static field initializer.
如果异常是从静态字段初始值设定项引发的,也存在同样的规则。
The best solution to this problem is to accept synchronization or use a static field.
对此问题最佳的解决方案是接受同步或者使用一个static field。
When instantiated, it could store the current Transaction into a thread-static field.
实例化后,它会将当前的Transaction存储到线程静态字段中。
The RolloverComposite will contain its single instance in a public static field called DEFAULT.
RolloverComposite将在叫做DEFAULT的公共静态(public static)域包含它的单个实例。
Sets a static field contained in the wrapped type.
设置已包装类型中包含的静态字段。
Returns the field ID for a static field of a class.
返回类的静态域的域ID。 域由其名称和签名指定。
Use the field as you would use any other static field.
与使用任何其他静态字段一样使用该字段。
This function returns the value of a static field of anobject.
这个函数返回一个对象静态域的值。
Sets a static field or property contained in the wrapped type.
设置已包装类型中包含的静态字段或属性。
This function returns the value of a static field of an object.
这个函数返回一个对象静态域的值。
A discussion about the effect of static field components on numerical results is also given.
本文还讨论了静态场量对数值计算的影响。
A general principle of the direct analogue simulation of static field components was searched for.
本文探讨了静态场分量直接模拟的一般原理。
As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.
正如您在前面看到的那样,静态字段初始值设定项的代码在隐式类型构造函数的内部执行。
If the indicated static field is accessed on a different context, it will contain a different value.
如果在不同的上下文中访问指示的静态字段,则该字段将包含不同的值。
An example might be a method that reads the value of a static field for a class that hasn't yet been loaded.
比如一个方法需要读取某个尚未加载的类的静态字段值。
Internally, Scope relies on a thread-static field to store the Stack of instances supplied to Scope's constructor.
在内部,Scope依赖线程静态字段存储提供给Scope构造函数的实例的Stack。
Until the first execution, the reference is unresolved, which means there's no address to load that static field from.
直到第一次执行时才解析引用,这意味着没有地址可供从中加载该静态字段。
This program also demonstrates how static field initializers execute before the code inside an explicit type constructor.
此程序还演示了静态字段初始值设定项如何在显式类型构造函数中的代码之前执行。
In this sterilization experiment research, beer yeast was treated by high voltage static field device of direct current.
利用自制直流高压静电场装置对啤酒酵母进行杀菌实验研究。
Whenever a request is sent to a Web service, this handler reads the SOAP body and assigns it to the body_of_request static field.
当将请求发送到Web服务时,此处理程序将读取SOAP主体,并将其分配给body _ of _ request静态字段。
The lookup table is referenced from a static field in ObjectStreamClass and is kept in the class itself rather than in an instance of it.
查询表是从ObjectStreamClass中的静态字段引用的,而且保存在类本身之中,而不是保存在实例中。
While an instance of a class contains a separate copy of all instance fields of the class, there is only one copy of each static field.
尽管类的实例包含该类所有实例字段的单独副本,但每个静态字段只有一个副本。
The second scenario is when a type has a initializer for a static field, in which case the compiler adds a type constructor behind the scenes.
第二种情况是,类型具有一个用于静态字段的初始值设定项,在这种情况下,编译器会在后台添加类型构造函数。
Electric field intensity and potential in static field are two physic parameters by which the Properties of electric field are described.
在静电场中,电场强度和电势是描述电场性质的两个物理量。
Now in the JSR-14 compilers 1.0 and 1.2, if you refer to a type parameter in a static field declaration, the compiler doesn't complain but it should.
现在,在JSR-14编译器 1.0和 1.2 中,如果您在静态字段声明中引用类型参数,编译器不会报错,但它本应该这么做。
Subsequent executions, of course, will benefit from the result of patching the code so that the instance or static field, or method target, is more directly referenced.
当然,后续执行将从修补代码中获益,从而可以更直接地引用实例、静态字段或方法目标。
It is safe to suppress a warning from this rule if you are developing an application and therefore have full control over access to the type that contains the static field.
如果您正在开发应用程序,并因此对包含静态字段的类型具有完全访问权限,则可以安全地禁止显示此规则发出的警告。
This flag allows the runtime to execute the type constructor method at any time it chooses, as long as the method executes before the first access to a static field for the type.
此标志使得运行库能够在任何时候执行类型构造函数方法,只要该方法在第一次访问该类型的静态字段之前执行即可。
While executing in your finalization method during domain unloading, you might want to access another object that is referenced by a static field and has a finalization method.
在域卸载过程中执行终止方法时,您可能需要访问另一个由静态字段引用并且有终止方法的对象。
While executing in your finalization method during domain unloading, you might want to access another object that is referenced by a static field and has a finalization method.
在域卸载过程中执行终止方法时,您可能需要访问另一个由静态字段引用并且有终止方法的对象。
应用推荐