/// <summary> /// Set the asynchronous loading state. Called by ResourceCache. Resources in the middle of asynchronous loading are not normally returned to user. /// </summary> private void SetAsyncLoadState(AsyncLoadState newState) { Runtime.ValidateRefCounted(this); Resource_SetAsyncLoadState(handle, newState); }
internal static extern void Resource_SetAsyncLoadState(IntPtr handle, AsyncLoadState newState);